rsync --dry-run --stats --progress --delete \ --exclude-from=excluded.notused \ --exclude-from=excluded.customized \ -az source/ -e ssh root@$1.2.3.4:/ # cat excluded.notused usr/share/man/ usr/share/info/ usr/share/doc/ usr/local/share/man/ root/* tmp/*