Powered by Blogger.

Thursday, June 2, 2011

Removing .svn folders from project

A loft of times some people send me project with subversion, and when you  upload to production, sometime you don't want upload .svn folder, looking for in google i found this. A good miracle command for me XD, and sure a stupid command for a lot of people.

rsync -r --exclude=.svn /home/user/progname/ /home/user/progname.copy

Regards David.
Published: By: David Millán Escrivá - 8:49 PM