this post was submitted on 07 Apr 2024
489 points (96.7% liked)

linuxmemes

20742 readers
834 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

founded 1 year ago
MODERATORS
 

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

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 5 months ago (2 children)

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.

[–] [email protected] 3 points 5 months ago (2 children)

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?

[–] [email protected] 6 points 5 months ago* (last edited 5 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.

[–] [email protected] 3 points 5 months ago* (last edited 5 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

[–] [email protected] 1 points 5 months ago* (last edited 5 months ago)

I should really start doing that, not sure why I've never thought of that