Tag Archives: rsync

Rsync: copy files but not .svn directories

rsync -n –exclude .svn -av /PATH/TO/SOURCE/DIR/* /PATH/TO/DEST/DIR/ rsync –exclude .svn -av /PATH/TO/SOURCE/DIR/* /PATH/TO/DEST/DIR/ The first command will similulate the copy (useful to test). The second command will actually execute the sync.