delete all files using terminal code example
Example 1: how to remove all files with a certain file type in terminal
rm -rf ./*.tmp
Example 2: how to remove all files with a certain file type in terminal
find /path -name '*.orig' -delete
rm -rf ./*.tmp
find /path -name '*.orig' -delete