{"id":237,"date":"2010-07-26T04:42:19","date_gmt":"2010-07-26T11:42:19","guid":{"rendered":"http:\/\/truelogic.org\/wordpress\/?p=237"},"modified":"2012-01-16T04:39:35","modified_gmt":"2012-01-16T04:39:35","slug":"how-to-delete-svn-folders-recursively","status":"publish","type":"post","link":"https:\/\/truelogic.org\/wordpress\/2010\/07\/26\/how-to-delete-svn-folders-recursively\/","title":{"rendered":"How to delete .svn folders recursively"},"content":{"rendered":"<p>There is a very simple way of doing this. We use the find command to get all the s\/.v .svn folders in a folder. The next step is to pass the output of this command to the delete command .<\/p>\n<p>So\u00a0 to list all .svn folders in the current folder:<\/p>\n<div style=\"padding: 2px; background-color: #0576e9; color: #fbf995;\"><strong>find . -type d -name .svn<\/strong><\/div>\n<p>Next pass the output of this to the rm command by enclosing the find command in accented single quotes:<\/p>\n<div style=\"padding: 2px; background-color: #0576e9; color: #fbf995;\"><strong>rm -rf `find. -type d -name .svn`<\/strong><\/div>\n<p>Another way is to first change your current directory to your project folder and the type :<\/p>\n<div style=\"padding: 2px; background-color: #0576e9; color: #fbf995;\"><strong>find .\/ -name &#8220;.svn&#8221; | xargs rm -Rf<\/strong><\/div>\n","protected":false},"excerpt":{"rendered":"<div class=\"mh-excerpt\"><p>There is a very simple way of doing this. We use the find command to get all the s\/.v .svn folders in a folder. The <a class=\"mh-excerpt-more\" href=\"https:\/\/truelogic.org\/wordpress\/2010\/07\/26\/how-to-delete-svn-folders-recursively\/\" title=\"How to delete .svn folders recursively\">[&#8230;]<\/a><\/p>\n<\/div>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[36,37,92,123,244,245,257],"class_list":["post-237","post","type-post","status-publish","format-standard","hentry","category-freebsd","tag-amit","tag-amit-sengupta","tag-delete","tag-folders","tag-subversion","tag-svn","tag-truelogic"],"_links":{"self":[{"href":"https:\/\/truelogic.org\/wordpress\/wp-json\/wp\/v2\/posts\/237","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/truelogic.org\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/truelogic.org\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/truelogic.org\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/truelogic.org\/wordpress\/wp-json\/wp\/v2\/comments?post=237"}],"version-history":[{"count":1,"href":"https:\/\/truelogic.org\/wordpress\/wp-json\/wp\/v2\/posts\/237\/revisions"}],"predecessor-version":[{"id":1124,"href":"https:\/\/truelogic.org\/wordpress\/wp-json\/wp\/v2\/posts\/237\/revisions\/1124"}],"wp:attachment":[{"href":"https:\/\/truelogic.org\/wordpress\/wp-json\/wp\/v2\/media?parent=237"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/truelogic.org\/wordpress\/wp-json\/wp\/v2\/categories?post=237"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/truelogic.org\/wordpress\/wp-json\/wp\/v2\/tags?post=237"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}