Welcome Guest ( Log In | Register )


Why register for free on WebRadiance?
Welcome to WebRadiance forums! WebRadiance is a place for discussion and help on a large range of web design and development related topics such as HTML, CSS, ASP & .NET, PHP and SEO. It is provided for free, without ads and is a friendly place for beginners and professionals alike. By joining us today you can take part in our rapidly growing community.

Registering enables you to:
  • have your say by posting new messages and taking part in topics and polls
  • keep up to date with the latest news and trends in the web design and development world
  • send private messages to other members
  • have your questions answered by our knowledgeable community
  • add a link to your website in our links area
  • receive emails when someone replies to your posts

What's the *nix command for...

 
Reply to this topicStart new topic
> What's the *nix command for...,
Marc Amos
post Oct 27 2008, 07:07 AM
Post #1


W.R. General
Group Icon

Group: Administrators
Posts: 2,799
Joined: 4-April 06
From: Massachusetts - USA
Member No.: 5



What's the proper *nix command that will allow me to remove all /.svn/ directories, recursively, within the directory that I'm currently in?

I used this to find them all: find /Users/myname/Sites/clientname -name "*.svn"

...which worked in displaying everything I'm interested in removing, but what do I add/change to remove them as well?


--------------------
Go to the top of the page
 
+Quote Post
Marc Amos
post Oct 27 2008, 07:20 AM
Post #2


W.R. General
Group Icon

Group: Administrators
Posts: 2,799
Joined: 4-April 06
From: Massachusetts - USA
Member No.: 5



Got the answer, this is what I typed: find /Users/myname/Sites/clientname -name '*svn' -type d -exec rm -rf {} \;


--------------------
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
Tags
No Tag inserted yet

1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

RSS Lo-Fi Version Time is now: 7th January 2009 - 09:59 AM
Contact Us
Web Design Forum | Web Development Forum | Web Help | WordPress Help