Tag Info

Hot answers tagged

2

man rsync : -v, --verbose This option increases the amount of information you are given during the transfer. By default, rsync works silently. A single -v will give you information about what files are being transferred and a brief summary at the end. Two -v options will give you information on ...


1

rsync has no limit on the depth of subdirectories it will traverse. More specifically, it exceeds the limit of the Linux file system. I just copied something that was about 500 levels deep and rsync copied it just fine. If you are experiencing this problem, check the following: is the destination file system incapable of handling that many ...


1

Batch mode can be used to generate a change set. Take a look at the BATCH MODE section of the man page and the command line switches --write-batch and --read-batch.


1

You can use -J instead of -o ProxyCommand. But -J does not support the %h and %p notation like ProxyCommand. That means you will need to specify hostname and port again. Make sure you specify the same hostname both times, otherwise it is going to fail - most likely when verifying the host key. This command should work: rsync -avz --delete -e "dbclient -J ...


1

Never done this before, but it might work if your directories are not too big. Create amd5sum before you start your rsync and compare with the md5sum after you finished. Something like this: #!/bin/bash md5sum=$(ssh humbo@hkremote tar -c /home/humbo/dumps|md5sum) . . # The rest of your script goes here . . md5sum_after_rsync=$(ssh humbo@hkremote tar -c ...


1

You can use rsync -i. Empty output means no changes. Or rsync --stats and parse the output ...



Only top voted, non community-wiki answers of a minimum length are eligible