Re: Find File



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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]