I always wondered why rsync tries to transfer a file to a remote location where it has read/execute permissions for the target dir, but no write permissions to create the actual destination file.
Hey guys.
I have a rsync command as follows in a expect script
Code:
spawn rsync -a -r -z -v -h -p -i --log-file=/path/rsync.log --progress --delete-excluded -e ssh user@ip:/source /destination
My question is.
When rsync has downloaded a file or folder, how can i get rsync to touch the file / folder with a date and timestamp for when the download was completed on the destination?
Thanks on
I have a mirroring system in place with rsync and it works well. However, moving a file causes it to be transferred again in its entirety.
Given what I know about the rsync algorithm's rolling checksum, wouldn't it be possible to:
tar all the source files
rsync the tar
and only incur a block-size penalty for the change in file name, after which the checksum would resynchronise?
I want to use rsync to move my 512GB Mac OS X TimeMachine backup from one USB disk to another.
I'm trying running rsync -aPEv source destination to do so.
I used rsync to copy a large number of files, but my OS (Ubuntu) restarted unexpectedly.
After reboot, I ran rsync again, but from the output on the terminal, I found that rsync still copied those already copied before. But I heard that rsync is able to find differences between source and destination, and therefore to just copy the differences.
I am transferring a large amount of files from one computer to another using rsync.
I was using a script to perform rsync in sudo crontab. The script does a 2-way rsync (from serverA to serverB and reverse). the rsync uses ssh to connect between servers. After i reboot both the server machines, the rsync is not working in sudo crontab.
Not specifically a mac question, but it's what I am using.
I am setting up some replication for some file shares using rsync. The problem is that I am being given a little bit of a twist - I'm supposed to use a non-admin account to do it with.
I have 2 boxes - Master and Slave with 1 account (sharesync). I setup a pub/private key pair and am able to successfully ssh from slave to master.
The situation is as follows:
Machine A has a file repository accessible via rsync
Machine B needs
the above mentioned files with all permissions and ownerships intact
(including groups etc)
Machine C has access to both A and B, but has a completely different set of users.
Normally, i would just rsync everything over, directly between A and B, but due to severely limited bandwidth at the mome