I am using nextcloud to synchronize some of the KDE apps settings like Kate and Dolphin between home and work PC (.config, .local)
It’s working fine except some settings don’t sync, like Dolphin additional information under file names (owner, date, etc).
And I have noticed that Dolphin stores global folder view settings in
.local/share/dolphin/view_properties/global
folder attributes, it’s very cool, but how to sync it?
I can possibly write some systemd --user script that will transform this attributes into some txt file and then maybe will be able to sync it and apply on the another PC.
But it does looks like hell. Maybe there is some easy way around?
If you are using the NextCloud sync client this might be something to raise with them.
Owner, creation/modification date are standard file properties but programs that transfer files might or might not have the capability to preserve those.
For example rsync has options for each of those on whether you want to preserve them or not.
Same for so-called extended attributes that some program might have added to a file or folder, e.g. tags.
One note on rsync, if you’re using that as part of your approach - by default, it does not include the extended attributes of a file. That would include things you might normally want to include in a backup, like metadata added to media files and folder view properties saved by newer Dolphin versions.