Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
"rsync is a utility that keeps copies of a file on two computer systems. It is commonly found on Unix-like systems and functions as both a file synchronization and file transfer program. The rsync algorithm is a type of delta encoding, and is used to minimize network usage."

cp is a kernel command on *nix based systems, also used from the cli (command line interface) to copy files from one drive to another, or another location

mv is a kernel command on *nix based systems, also used from the cli to move (copy to target and delete source) to another location, or drive.

If you are not familiar with any of these apps/commands, or the command line interface, and you're just copying a file over for a backup reason, incidentally, and manually .. then just using finder will be enough, or normal cp to copy from target to source location.

If you're setting up a more complex thing, such as a shell script to run daily to update an automated backup solution by appending to existing data - THEN rsync might be a better choice, as it stores the changes, and doesn't start from scratch.
 
Always before when I purchased a new remote HD I had both icons on my desktop, then i would drag the old HD onto the new one. This transfer took a long time. I'm just trying to find a quicker way.
 
Always before when I purchased a new remote HD I had both icons on my desktop, then i would drag the old HD onto the new one. This transfer took a long time. I'm just trying to find a quicker way.

Only way to speed that up is by upgrading the interface the transfers are on even then the interface of the connected drives have to support the new. Now there are possibilities of putting dual port USB3 dongle on older mac to have it work faster but that is pretty much the only option except firewire on older mac that would be faster than USB2.
 
  • Like
Reactions: Zazoh
I use rsync to back up my computer to an external drive, checks to see what is not in sync, can remove files not on original if needed, and I can see the progress, run at home and office so I have dual back ups. Seems faster than drag and drop but give it a try.
 
i have tried to use rsync and have come up zilch ! 1st I download it as per instructions, then I get a format that does nothing, Note "Labels" below. Also should I place "Partition's in the remote HD I'm planning to save my files in ?
I have absolutely ran aground on this rsync.
 

Attachments

  • Labels.png
    Labels.png
    71.7 KB · Views: 77
i have tried to use rsync and have come up zilch ! 1st I download it as per instructions, then I get a format that does nothing, Note "Labels" below. Also should I place "Partition's in the remote HD I'm planning to save my files in ?
I have absolutely ran aground on this rsync.

A command like this in Terminal will do fine.

Code:
rsync -avP /path/to/file/to/sync username@192.168.0.100:directory/to/save/to/

This syncs/copies the file sync to the username's directory/to/save/to/ in their home directory using ssh at the IP of 192.168.0.100. You need to turn ssh on in System Preferences -> Sharing -> Remote Login on the target machine.
 
I am going to transfer a large file from one remote hard drive to another. Is "rsync" the best process for this ?

If remote hard drive means hard drive connected to a remote host then the options depend on whether both hard drives are connected to the same or to different remote hosts.

If the former, it would be most efficient to log on to the remote host and copy the file locally.

If the latter, you're bound by the methods at your disposal of connecting to the remote hosts.

If both hosts run ftp servers you can use the ftp proxy command to transfer the file directly from one host to the other, from the comfort of your own machine.

If the hosts run ssh servers (far more likely these days) you can either:
- log on to one host with ssh and copy the file to the other using scp (in one command line), or
- copy the file from one host to the other with scp (this is far less efficient, since the file gets copied from the first host to your machine, then from your machine to the second host)

If both hosts support SMB file sharing you can simply mount the drives from both hosts and drag&drop the file from one to the other.

Rsync doesn't really offer anything special here, it is useful for keeping a set of files in sync across hosts. Also for copying a number a files, because in case of a connection drop it can continue from where it left off.

If the issue is the large file size and an unreliable link it may be beneficial to use split to break the file into small chunks, use rsync to transfer them (using as many incremental tries as are necessary) and combine them back together at the destination.
 
Also for copying a number a files, because in case of a connection drop it can continue from where it left off.

If the issue is the large file size and an unreliable link it may be beneficial to use split to break the file into small chunks, use rsync to transfer them (using as many incremental tries as are necessary) and combine them back together at the destination.

The second is waste of time/additional steps, as you mention in the first line it will pickup exactly where it left off (with a -P in command line) and if the checksums do not match it will sync until it has exact duplicate on the other end.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.