|
find folders in a folder and delete
i have a customer that does not have ssh access and needs me to run a command for him. i just want to make sure that this is the correct command. he needs to delete the .svn folders that he uploaded with his script. i do not want this to remove any .svn folders anywhere else on the system other than his hosting account. his hosting account folder is found here: /home/thepope/www/intranet
the command i assume i need to run is (after cd to his folder):
find . -type d -name '.svn' -exec rm -rf {} \
am i correct on this?
|