Basic use of rsync
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/