I’m looking for a linux program that can mirror a directory to another drive and move a subdirectory in the mirror.

  • @foggy@lemmy.world
    link
    fedilink
    English
    2
    edit-2
    2 years ago

    I use RealTimeSync.

    It just… Works. I love it. It’s free.

    There are plenty of features that could effectively let you do what you want.

    Mine is set to sync my server with a backup whenever my main PC is idle for 20 mins. Once it determines how to sync, it lets me review before syncing.

  • @vynlwombat@lemmy.world
    link
    fedilink
    English
    1
    edit-2
    2 years ago

    rclone sync might be a acceptable?

    It doesn’t move files from one dir to another but it would delete the old directory and recopy to the new directory.

    I think rsync has the same functionality but could be wrong

    • @SomeBoyo@feddit.deOP
      link
      fedilink
      English
      12 years ago

      I am trying to create a crontab to backup multiple directory in which files change their location, but I don’t know if links would solve it

      • @SpaceNoodle@lemmy.world
        link
        fedilink
        English
        1
        edit-2
        2 years ago

        You can also have rsync exclude specific files, so you could sync the main dir first, then the special subdir specifically