2

In emacs, the command M-x grep runs grep program.

Is there a command in emacs for running find in findutils, or do similar thing?

Thanks.

  • Projectile, a fuzzy file finder, can use find, pure elisp, or git-files. This wiki gives a few more hints. – Ehvince Feb 14 '17 at 8:50
3

find-dired will run find for you.

  • 1
    +1. And if you use Dired+ then you also have convenience commands find-name-dired, find-grep-dired, and find-time-dired. – Drew Feb 13 '17 at 21:17
1

Also if you are specifically looking to combine find with grep, see rgrep, lgrep, and grep-find.

1

There are many find commands that you could use directly or configure to specifically use the external find command from findutils. Here are some (besides the ones already mentioned by others above) that you can explore via C-h f documentation:

find-file
find-grep
find-library
find-function
find-variable
find-name-dired
find-dired
grep-find
helm-find
find-grep-dired
ido-find-file 

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.