SVN tips on usage

Hi all,

How to copy svn files and create a backup with a single command?

svn status | grep '^[ADMR]' | cut -b 8- | xargs -I '{}' rsync -R  {} ./directory/

This will create a directory in your root dir where this command is run and will copy all the modified files so that these files can be safely removed and one can perform an svn up to get the latest copies of the files.

How to get a summary of svn diff?

svn diff --summarize

Comments

Popular posts from this blog

SOX - Sound eXchange - How to use SOX for audio processing tasks in research.

Sox of Silence - Original post - http://digitalcardboard.com/blog/2009/08/25/the-sox-of-silence/

How to get video or audio duration of a file using ffmpeg?