Monday, August 23, 2010

How to do find and delete in command prompt

Here is the terminal command to do find and delete

Eg: to find all files with extension ".svn" we can use

find -iname '*.svn'

to delete the founded file we can use :

find -iname '*.svn' | xargs rm -rf

No comments:

Post a Comment