Você pode usar KMGTP com os tamanhos.
# find . -size +400M
# find . -size +300M -ls
# find . -name *.cdr -size +400M -ls
# find /var/log/ -name "*.gz" -exec zcat "{}" + | grep "jurandir"
# find -newermt 'Aug 03' -and ! -newermt 'Aug 05' -exec zgrep -l 'exim*' {} \;
Acha os 10 maiores arquivos no servidor.
Find the top ten largest files in the server.
# find -type f -exec du -sh {} + | sort -rh | head
19M ./.cpan/Metadata
15M ./instalacoes/webmin-1.570.tar.gz
15M ./instalacoes/webmin_1.570_all.deb
3.3M ./instalacoes/atmailopen.tgz
3.1M ./instalacoes/nagios-3.2.1.tar.gz
2.6M ./instalacoes/roundcubemail-0.6.tar.gz
2.1M ./instalacoes/nagios-plugins-1.4.15.tar.gz
1.7M ./instalacoes/nagios-3.3.1.tar.gz
1.6M ./instalacoes/nagios-plugins-1.4.15/configure
1.6M ./instalacoes/nagios/base/nagios
# find . -type f -exec grep "Jurandir" {} \; -print
# find /home -type f -exec grep -Hn -A1 -B1 "rubia" {} \;
# find . -type f -print0 | xargs -0 grep "marcelo"
# find . -type f -exec grep "mike" {} /dev/null \;
# find ./ -type f -exec grep -Hn "marcelo" {} \;
# find ./ -type f -exec egrep -H -B 2 -A 2 "eric" '{}' ';'
# find . -type f -print0 | xargs -0 grep -Hn -C2 "isabela"
# find . -type f -print0 | xargs -0 grep Marcelo
# find . -type f -exec grep "Rubia" {} \;
# find /home/ -iname "*.cdr" | wc -l
# find /home -name '*.avi' -ls
# find /home/ | egrep "[0-9]+G.* | [5-9][0-9][0-9]M.*"
# find /home/ -ls | grep "[0-9]M"
# find /home/ -size +400M
# find /home/ -size -400M
# find /home/ -name '*.psd' -size +400M
# find /home/ -name *.cdr -size +200M -ls
# find /home/ -mmin +6 -mmin -50 -ls
# find / -iname "*.sh" -mtime -60 | wc -l
# find . -mtime -1
# find . -type f -exec grep "Jurandir" {} \; -print
# find / -name '*.wmv' -or -name '*.mp3' -or -name '*.pps' –ls
------------------------------------------------------------------------------------------------------------------------
===[ Sharing Knowledge ]=== - Obrigado - Thank you - Danke - Merci - Grazie - Gracias - arigatou gozaimasu
“We make a living by what we get, but we make a life by what we give.” - Give and you will receive - just share :)
------------------------------------------------------------------------------------------------------------------------
“We make a living by what we get, but we make a life by what we give.” - Give and you will receive - just share :)
------------------------------------------------------------------------------------------------------------------------
Nenhum comentário:
Postar um comentário