[email protected]
[Top] [All Lists]

Re: Find File

Subject: Re: Find File
From: Alexander Kriegisch
Date: Tue, 09 Oct 2007 02:32:04 +0200
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
_______________________________________________
Mc mailing list
http://mail.gnome.org/mailman/listinfo/mc

<Prev in Thread] Current Thread [Next in Thread>