8th August, 2008

Remove Subversion Directories

To strip out all Subversion tracking directories (those annoying .svn hidden ones) navigate to the directory in a terminal then type the following:

find . -name ".svn" -type d -exec rm -rf {} \;

Useful for doing a deploy.

Alternatively, use Rsync...

rsync -e ssh -av ~/path/to/local/directory/ username@server_ip:/path/to/remote/directory/

Will sync the local directory with a remote directory over SSH.

 

Add Comment

The opinions expressed here are my own and not those of my employer.