Pretty Awesome Linux Scripts June 18, 2016 By Austin Story Leave a Comment Show the 10 largest files in a system sudo du -a / | sort -n -r | head -n 10 Find all pdfs in a directory that are older than 30 days and delete them find -name “*.pdf” -type f -mtime +30 -exec rm -rf {} \;
Leave a Reply