Sample Header Ad - 728x90

How to delete directories based on `find` output?

257 votes
9 answers
324644 views
I issue the following command to find the .svn directories: find . -name ".svn" That gives me the following results: ./toto/.svn ./toto/titi/.svn ./toto/tata/.svn How could I process all these lines with rm -fr in order to delete the directories and their content?
Asked by Arnaud (2681 rep)
Sep 9, 2013, 08:34 AM
Last activity: Apr 29, 2023, 03:10 PM