On Thursday, November 28, 2019 10:02 PM, John Jason Jordan <[email protected]>
wrote:
>
> I tried updatedb as jjj and with sudo and it did nothing much. It took
> about one second to complete. Clearly it is not updating the database
> for all files on all partitions.
>
> I think I found one solution - find with the --prune option. I'm trying
> to figure out the syntax to make it exclude the entire /media folder
> (because that's where everything but / and /home are mounted). I wish
> man pages would give examples of usage.
What about
find {all /-level dirs except /mnt} {other find options}
?
You could stick it into a tiny script or shell alias.
--
- David Fleck
_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug