#1. Command to delete multiple files
rm -v filename1 filename2 filename3
#2. Command to delete multiple files accessed before
find . -type f ! -newerat 'dd/mm/yyyy 17:24:00' -exec rm -f {} \;
find path/of/the/file -type f -mtime +30 -delete
#3. Command to delete multiple files with same keyword
rm -v keyword*
find -type f -name '*keyword*' -delete
#4. Command to delete multiple files of same extension
find path/of/the/file -type f -name "*.php" -exec rm -f {} \;
find path/of/the/file -name "*.php" -type f -mtime +30 -delete
#5. Command to delete files of certain size
find path/of/the/file -type f -size +70M -exec rm -f {} \;
find path/of/the/file -type f -size -5M -exec rm -f {} \;That's It !
Check out the blog to get detailed explaination of the above mentioned commands.