RSYNC - Can it copy files that are constantly being added to the source?

Soldato
Joined
4 Oct 2003
Posts
7,444
Location
Sheffield, S.Yorks
Bit of an odd question this, but I'm going to try and make it make sense!

I'm copying my iPhoto Library to a Ubuntu machine which I use as a server. I'm using rsync to get the iPhoto folder/file/package off the Macbook, and it's copying to the server fine. At 16GB over a WiFi connection, it's never going to be quick.

I then want to copy the same files from the server, to a remote machine at a mate's house. I've got all our wedding photos and usual gubbins on there, and want it all safe. Plus, I'm playing with this stuff so it makes sense for now.

The question is thus: what happens if I start the transfer to the remote server while the files are still being copied to the local one? Will rsync stop when it's copied what was there when I ran the command, or will it just keep going?

Yes, I know I could have moved them straight from the Mac to the remote server, but I need all three copies at some point, and I can leave the server on whereas the Mac needs to be portable.

Not entirely sure all that makes sense, but there you go :D

Cheers!
 
Morning.

Since I wrote that, I decided to give it a shot to see what happened. It appears that, despite what we all thought, the files are continuing to be copied across, even though they were not present when I initially ran the command.

Could it be something to do with running rsync to send the files to the local server?
 
Back
Top Bottom