Showing posts with label svn. Show all posts
Showing posts with label svn. Show all posts

using rsync to copy files and folders

Monday, May 2, 2011

Quest for a tool to do a copy excluding hidden files lead me to find the rsync command. Here is how I copy a folder from source to destination excluding all hidden files/folders (all that with a "." prefix in the name).

rsync -a --exclude='.*' source/ destination/

This might be especially useful when copying folders checked out from SVN, that needs to be checked-in to a different location. Having the .svn folder under sub-folders can cause them not to be checked in.

Read more...

svn - 1

Friday, December 17, 2010

To get the list of all modified files, after a specific REVNO to the latest HEAD
svn diff -r REVNO:HEAD --summarize

Read more...