rsync helps exporting Subversion’s working copies
This one-liner helps you to keep a mirror of a working copy of a Subversion repository without its .svn directories. It may speed up the test-modify-commit cycle: it acts like an export but it should be faster. The command is: rsync -apogz –delete –exclude=”.svn/” /working_copy/path/ /testing/point/ rsync -Dgloprtz –delete –exclude=”.svn/” /working_copy/path/ /testing/point/ Of course the [...]
rsync mirror note
Recently I needed the following one-liner I’ve used for years but it was lying on an unreachable computer so let me write how you can mirror two folders with rsync: rsync -apogz –delete /source/ /target/ rsync -Dgloprtz –delete /source/ /target/
