find

The purpose of this document is to provide good uses of the Linux find command. Find most recent files: find . -type f -printf '%T@ %p\n' | sort -nr | head -n 25 | cut -f2- -d" "

Find largest files: find . -printf '%s %p\n' | sort -nr | head -n 25

Delete old files find /mnt/mysql/dump/ -maxdepth 1 -mindepth 1 -name *.tgz -type f -mtime +3 -delete

[Edit]