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/

Last update: 2008-08-18

Post a Comment

Your email is never shared. Required fields are marked *

*
*