[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Find File
- From: Alexander Kriegisch <Alexander Kriegisch name>
- To: Felix Miata <mrmazda ij net>
- Cc: mc gnome org
- Subject: Re: Find File
- 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
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]