Basic use of rsync
Feb 7, 2011
1 minute read

Basic use of rsync

  • Mirror two directories :
rsync -av --progress SourceDir/ DestinationDir/
  • Mirror two directories with compression :
rsync -avz --progress SourceDir/ DestinationDir/
  • Mirro two directories and delete in destination what’s been deleted in source (real mirroring) :
rsync -avz --progress --delete --delete-after SourceDir/ DestinationDir/


comments powered by Disqus