Posted by
gabriel on May 15th, 2011 in
Commands,
Linux |
0 comments
Sometime it happen that I need to find all certain type of file or directory from a folder and sub folders and delete it. An example is if you have to copy a project under svn and you want to clean all folder from “.svn” folder.
Via linux shell:
$ find /absolute/or/relative/path -type d -name ".svn" | xargs rm -r
If you have to delete file or folder with name first letter “A”:
$ find...