At the moment i have 2 drives plugged into the same machine running this command to sync them.

rsync -X -H -A -a -P /mnt/MyBook /mnt/offsite/MyBook/    

later this month ill be moving the /mnt/offsite/MyBook/ drive to my brothers house and want to 1) remove files no longer on the main drive from the offsite and move the new files over.

whats the best command to do this?

  • yeboi314159@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    How would you do the rsync commands being posted in the comments with dd? Doesn’t dd operate on the raw data level, complicating things? Whereas rsync-ing two directories is straight forward