org-grep icon indicating copy to clipboard operation
org-grep copied to clipboard

support extra options for find(1)?

Open greg-minshall opened this issue 2 years ago • 0 comments

hi. in my environment, where i have .org files scattered all over the place, including in ${HOME}, i would like to search for org files in a specified set of directories, but not in any of those directories' subdirectories (i.e., not in the trees rooted at the directories in org-grep-directories). for find(1), this could be done by passing the -maxdepth 1.

i've implemented something like this here (and, also tried to deal with issue #6), with an option org-grep-find-options. i'd be happy to turn into a git patch.

greg-minshall avatar Dec 05 '22 04:12 greg-minshall