Quickly each inside all your emacs org mode files

searchinorgfiles

searchinorgfiles

1 How to search a string of text inside all your org files?

You can do this very easily by using the grep command in linux:

grep -rnw '~/orgfolder/' --include \*.org -s -e stringoftext

beware that the syntax of this command may be a little different depending on the version that you are using (especially the --include part of the command).

Anyway the grep command will return a list with all the .org files containing the stringoftext that you were looking for.

2 Alias

It can be very useful to set up an alias for this command in order to speed up the searching process.

Enjoy!

Date: 2015-11-22 11:03:12 CET

Author: falematte

Org version 7.8.02 with Emacs version 23

Validate XHTML 1.0