rsync rsync⚑ Copy folder contents and delete anything else⚑ rsync -avz --delete [folder] [host]:[path] Exclude a path or regex⚑ rsync --exclude "[path/regex]" Where the path is relative to the path we want to sync. thegeekstuff