One Shell Command to delete all svn hidden folders(spellcoder.com)

submitted by bashmohandesbashmohandes(3000) 4 years, 8 months ago

If you are using Subversion source control, you will be familiar with the .svn folders that SVN adds to any folder under the source control, these folders are used to keep track of the current state of the folder, but sometimes, I want to copy my code and get rid of these folders, and instead of doing this manually which becomes a headache if you have a very deep hierarchy of folders, this is a Shell Script comes to the rescue

3 comments |category: |Views: 17

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

posted by gavinjoycegavinjoyce(25.7k) 4 years, 8 months ago 0

Nice tip, I have gone through this process manually more than a few times.

Reply

posted by luciolucioluciolucio(0) 4 years, 8 months ago 0

It's easier to use svn export. Try svn help export and you'll see what it does.

Reply

posted by gavinjoycegavinjoyce(25.7k) 4 years, 8 months ago 0

As far as I know, svn export uses the lastest version in the repository. This technique is useful if you have local changes or other non-committed files.

Reply

information Login or create an account to comment on this story