emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* searching across all/multiple org files
@ 2014-10-05 13:58 Xebar Saram
  2014-10-05 16:59 ` Subhan Michael Tindall
  2014-10-05 18:21 ` Thorsten Jolitz
  0 siblings, 2 replies; 3+ messages in thread
From: Xebar Saram @ 2014-10-05 13:58 UTC (permalink / raw)
  To: org mode

[-- Attachment #1: Type: text/plain, Size: 278 bytes --]

hi list

im looking for a way to do a simple search (though i could see times where
a org headline search would work) across multiple org file. what would be
nice is defining a folder before that has org files and search there

any ideas on this anyone?

thx alot in advance

Z

[-- Attachment #2: Type: text/html, Size: 501 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: searching across all/multiple org files
  2014-10-05 13:58 searching across all/multiple org files Xebar Saram
@ 2014-10-05 16:59 ` Subhan Michael Tindall
  2014-10-05 18:21 ` Thorsten Jolitz
  1 sibling, 0 replies; 3+ messages in thread
From: Subhan Michael Tindall @ 2014-10-05 16:59 UTC (permalink / raw)
  To: 'Xebar Saram', org mode

[-- Attachment #1: Type: text/plain, Size: 1520 bytes --]

Org agenda searches  (C-c a <m|s|/ etc) search across  all files listed in org-agenda-files and org-agenda-text-search-extra-files
See http://orgmode.org/worg/org-tutorials/advanced-searching.html for some great info on searching
Another option is to use the shell, for example
Find –name ‘*.org’ <documents directory’ | xargs grep <search string>  (see man pages for more details)


From: emacs-orgmode-bounces+subhant=familycareinc.org@gnu.org [mailto:emacs-orgmode-bounces+subhant=familycareinc.org@gnu.org] On Behalf Of Xebar Saram
Sent: Sunday, October 05, 2014 6:59 AM
To: org mode
Subject: [O] searching across all/multiple org files

hi list

im looking for a way to do a simple search (though i could see times where a org headline search would work) across multiple org file. what would be nice is defining a folder before that has org files and search there

any ideas on this anyone?
thx alot in advance

Z

This message is intended for the sole use of the individual and entity to which it is addressed and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If you are not the intended addressee, nor authorized to receive for the intended addressee, you are hereby notified that you may not use, copy, disclose or distribute to anyone the message or any information contained in the message. If you have received this message in error, please immediately advise the sender by reply email and delete the message.  Thank you.

[-- Attachment #2: Type: text/html, Size: 4849 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: searching across all/multiple org files
  2014-10-05 13:58 searching across all/multiple org files Xebar Saram
  2014-10-05 16:59 ` Subhan Michael Tindall
@ 2014-10-05 18:21 ` Thorsten Jolitz
  1 sibling, 0 replies; 3+ messages in thread
From: Thorsten Jolitz @ 2014-10-05 18:21 UTC (permalink / raw)
  To: emacs-orgmode

Xebar Saram <zeltakc@gmail.com> writes:

> hi list
>
> im looking for a way to do a simple search (though i could see times
> where a org headline search would work) across multiple org file. what
> would be nice is defining a folder before that has org files and
> search there
>
> any ideas on this anyone?

not org specific, but 

,----[ C-h f helm-do-grep RET ]
| helm-do-grep is an interactive autoloaded Lisp function in
| `helm-grep.el'.
| 
| It is bound to C-x c M-g s, <menu-bar> <tools> <Helm> <Tools> <Grep>.
| 
| (helm-do-grep)
| 
| Preconfigured helm for grep.
| Contrarily to Emacs `grep', no default directory is given, but
| the full path of candidates in ONLY.
| That allow to grep different files not only in `default-directory' but anywhere
| by marking them (C-<SPACE>). If one or more directory is selected
| grep will search in all files of these directories.
| You can also use wildcard in the base name of candidate.
| If a prefix arg is given use the -r option of grep (recurse).
| The prefix arg can be passed before or after start file selection.
| See also `helm-do-grep-1'.
`----

is very good at this.

-- 
cheers,
Thorsten

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-10-05 18:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-05 13:58 searching across all/multiple org files Xebar Saram
2014-10-05 16:59 ` Subhan Michael Tindall
2014-10-05 18:21 ` Thorsten Jolitz

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).