Delete files by mask in Bash (Terminal)

Go to the folder, where you want to delete for instance all mp3 files in this folder and it’s subfolders and type this:

If you want to delete files by mask only in current folder, type this:

Leave a Reply

Your email address will not be published. Required fields are marked *