If you want to avoid descending into ANY other mounted partition, you can use
the -xdev option.
-xdev Don't descend directories on other filesystems.
Otherwise, the syntax described here might work for you. I have not tested the
behavior myself.
- https://stackoverflow.com/a/16595367
Regards,
Reid
Sent with ProtonMail Secure Email.
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Thursday, November 28, 2019 6:32 PM, John Jason Jordan <[email protected]>
wrote:
> The locate and find manpages have let me down. So has the GUI Catfish
> file search.
>
> I want to search the entire filesystem except /dev/sda1 and /dev/sdb1.
> These are mounted at /media/jjj, and they comprise many TB of data. If
> I do a search on / it will include these partitions, and the search
> will take over five minutes. But I know the files I am looking for are
> not on those partitions, so I want to exclude them from the search.
> I'll take the command line or a GUI that will work on Xubuntu 18.04.
> Any suggestions?
>
> PLUG mailing list
> [email protected]
> http://lists.pdxlinux.org/mailman/listinfo/plug
_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug