I’m looking for a linux program that can mirror a directory to another drive and move a subdirectory in the mirror.
You must log in or register to comment.
Why not exclude the folder you want to move from the initial sync, and sync that folder separately to the final location?
Restic, kopia, and Borg are all pretty good backup tools with deduplication built in, so they might be a good option if you’re doing this for backup purposes?
But
rsync
can do this fine with--recursive --delete
. The mirror will remain an exact replica.Perhaps git would work?