Posted By

magicrebirth on 12/22/09


Tagged

Bash rm unix find


Versions (?)

UNIX: remove all files with certain characteristics


 / Published in: Bash
 

  1. find . -name \*.pyc -ok rm {} \;

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: avantassel on December 6, 2010

add -type f for files, find /searchpath -type f -name "*thepatern*" -exec rm {} \;

You need to login to post a comment.