GITHUB - LINKEDIN - EMAIL
10-13-2021

rsync over cp

I do a lot of syncing at work with multiple repositories. I originally wrote a shell script to do this, semi automatically using ‘cp’, but it looks like ‘rsync’ does much more. Rsync will only copy the differences in the files as well as use compression. I am on a quest to find all the linux commands I am not taking advantage of.

 

Resources:

  • https://askubuntu.com/questions/806371/whats-the-difference-between-cp-and-rsync
  • https://linux.die.net/man/1/rsync
  • https://everythinglinux.org/rsync/
 
©Larry Buffaloboy