Posted By

klovera on 01/10/12


Tagged


Versions (?)

Remove files by extension


 / Published in: Bash
 

URL: http://www.go2linux.org/uses-command-find

browse to directory and enter

  1. find * -name '*.ext' -exec rm '{}' +
  2. # where .ext is the extension you are wishing to delete (eg .jpg).

Report this snippet  

You need to login to post a comment.