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?

      • Solkre@alien.topB
        link
        fedilink
        English
        arrow-up
        1
        ·
        10 months ago

        Really? It’s used/suggested here all the time. And I’m a windows guy.

    • yeboi314159@alien.topB
      link
      fedilink
      English
      arrow-up
      1
      ·
      10 months 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