P
postcd
Guest
Hello,
im doing regular search in files contents in around 25 linux file systems (mostly redhat, debian).,
i want to lower load on server by excluding folders which contains only system files and alot of files
Which linux folders contains most files?
I found i can exclude folders like this:
the linux will entirelly skip above excluded directories, or it will go into them and search, but only mute listing? thx
i mainly want to relieve disk I/O operations, thats also why i added "/bin/nice -n 19 " before the find command
im doing regular search in files contents in around 25 linux file systems (mostly redhat, debian).,
i want to lower load on server by excluding folders which contains only system files and alot of files
Which linux folders contains most files?
I found i can exclude folders like this:
find . -type f -name "*searched phrasse*" ! -path "./tmp/*" ! -path "./var/log/*"
the linux will entirelly skip above excluded directories, or it will go into them and search, but only mute listing? thx
i mainly want to relieve disk I/O operations, thats also why i added "/bin/nice -n 19 " before the find command