[PLUG] Searching all filesystems except /proc
David Fleck
david.fleck at mchsi.com
Sun Sep 30 22:29:18 UTC 2018
On Sun, 2018-09-30 at 14:46 -0700, Rich Shepard wrote:
> I want to exclude /proc from being examined by 'find' when searching for
> a file from /. I did not see an option in the man page to exclude specific
> partitions. Is there a way to have find ignore /proc?
Not exactly what you want, but you can specify file system type with
-fstype xxx. Anything in /proc is fstype 'proc', so maybe you could
specify "! -fstype proc" as one of your sets of arguments to find.
More information about the PLUG
mailing list