Re: [PLUG] Searching all filesystems except /proc

2018-09-30 Thread King Beowulf
On 9/30/18 2:46 PM, 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? > > Rich If you are just looking for regular

Re: [PLUG] Searching all filesystems except /proc

2018-09-30 Thread J. Hart
You may also wish to avoid searching in any active mount points under root (directories with additional filesystems (e.g. other drives) mounted on them. The switch "-xdev" will prevent "find" from descending into those other filesystems). On 09/30/2018 05:46 PM, Rich Shepard wrote: I want

Re: [PLUG] Searching all filesystems except /proc

2018-09-30 Thread Rich Shepard
On Sun, 30 Sep 2018, David Fleck wrote: 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. David, This looks like it will do the job.

Re: [PLUG] Searching all filesystems except /proc

2018-09-30 Thread David Fleck
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

[PLUG] Searching all filesystems except /proc

2018-09-30 Thread Rich Shepard
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? Rich ___ PLUG mailing list PLUG@pdxlinux.org