It’s not about the destination, it’s about the journey.

  • JovialSodium@lemmy.sdf.org
    link
    fedilink
    arrow-up
    2
    ·
    8 months ago

    I use file syncing (Syncthing) and symlinks to keep configs for some apps synced between devices. I don’t for Firefox, but it might work.

    • HouseWolf@lemm.ee
      link
      fedilink
      English
      arrow-up
      3
      ·
      7 months ago

      I’m still a newbie Linux user so haven’t fully delved into Symlinks…besides bricking a VM trying it once when following a guide.

      Can I for instance link a folder where emulators or offline games store save data on my main SSD and have it automatically copied to a folder on my large HDD?

      • JovialSodium@lemmy.sdf.org
        link
        fedilink
        arrow-up
        6
        ·
        edit-2
        7 months ago

        It doesn’t copy data, no. Symlink is short for symbolic link. So it’s a pointer to another location. But it might be useful for you. Taking a guess at your goal, here’s a relevant example.

        Say you moved all of your emulation stuff stored under /media/largehdd/retroarch. You could then symlink that directory to ~/.config/retroarch like so:

        ln -s /media/largehdd/retroarch ~/.config/retroarch

        That data is still stored on the large drive but will now also show under that symlinked directory.

      • amotio@lemmy.world
        link
        fedilink
        arrow-up
        3
        ·
        edit-2
        7 months ago

        Yes you can, although this might be better done with rsync - and periodically runnind the syncing command.

        But syncthing does basically the same thing plus you can sync between multiple devices on the same network.

        I sync my laptop config with work pc this way.

        Edit: typos, damn mobile