On Mac OS X, as well as on Linux, to delete all subfolders recursively with a particular name, simply run the following terminal command:
find. -Type d-name nomecartelladaeliminare -exec rm-rf {} \\;
The - type d sure that will be considered only directories, then you can include it by not erasing the files from the specified name.
Warning: before running the command, remember to locate the folder from which you want to delete the subdirectories!
To be sure which folders will be deleted consiglio di eseguire prima:
find . -type d -name nomecartelladaeliminare
find . -type d -name .svn -exec rm -rf {} \;
0 comments:
Post a Comment