Find File

Alexander Kriegisch Alexander at Kriegisch.name
Tue Oct 9 00:32:04 UTC 2007


Felix Miata:
> How does one search the whole / filesystem for files containing some
> string without mc getting lost in recursive searches of multiple
> "copies" of /dev/core?

If you want to know how to use MC's search function in a way that
excludes symlinks, I second the request. You probably want to do
something like this:

find . -name 'foo*.c' -type f | xargs grep -E "TODO:.*refactor"

The "-type f" makes sure we do not see symlinked files multiple times.
--
Alexander Kriegisch



More information about the mc mailing list