Monday, May 7, 2012

find and delete the particular files using file extension in linux

The below command generic command. Using this command we can remove particular extension file. Here, I illustarted the .svn files find and remove from the particular folder. So, here find the .svn extension from partiular folder and it will remove from the folder.

find . -name ".svn" -exec rm -rf {} \;

No comments:

Post a Comment