sync localized directories (with different names)

"'Joel Carnat' via unison-users" <[email protected]> Sun, 28 Apr 2024 16:48:29 +0200
Newsgroups gmane.network.unison.general
Message-ID <[email protected]>
Hi,

I want to synchronize my Documents/Downloads/Pictures/... folders on 
various (Linux/OpenBSD) machines that use different $LANG value. The 
central server and some workstations use LANG="us_US.UTF8". Some other 
workstations use LANG="fr_FR.UTF8". Depending on the $LANG variable, 
folders have different names.

On workstations that use the same $LANG as the server, I can use a 
config like:
root = /home/myuser
root = ssh://remoteuser@server/
path = Desktop
path = Documents
path = Downloads

But on workstations that use another $LANG, the local "Desktop" is 
"Bureau", "Downloads" is "Téléchargements" etc... Which means I can only 
use one profile per corresponding directory. Like so:
root = /home/myuser/Bureau
root = ssh://remoteuser@server/Desktop

This means, for such workstations, I need one profile per directory and 
I couldn't find how to write a big profile that would sync all 
directories at once.

I've looked at serveralias but this doesn't seem to solve my problem. 
I've also played with includes but Unison fails when there are to many 
"root" directives.

Is there a way to implement some kind of corresponding table that would 
allow synchronizing the whole sets of localized directories at once?

Thank you.

To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].