Backing up special files in Windows

John Rose <[email protected]>
Newsgroups gmane.network.unison.general
Message-ID <[email protected]>
Hello,

I'm trying to use unison 2.53.4 to sync ntfs files between Windows 11 
and an ntfs external ssd.

My profile is:

    root = C:\Users\michmich
    root = D:\Michèle\michmich
    path = Bureau
    path = Documents
    path = Images
    dontchmod = true
    perms = 0
    times = true

Unison finds the *Documents* directory but says that *Bureau* and 
*Images* don't exist. Unison works with many other directories without 
problem. My guess is that these directories are not recognized because 
they are special and pre-created in Windows. The only reason I can think 
of is that *Documents* has the same name in both the master English 
version of Windows and the French version which I am using, but *Bureau* 
is *Desktop* in English and *Images* is *Pictures* in English. I try 
with *path = Desktop*, same problem. However, I can get around this by 
creating a separate prf file for each of the two problem directories:

    root = C:\Users\michmich\Desktop
    root = D:\Michèle\michmich\Desktop
    dontchmod = true
    perms = 0
    times = true

So my problem is solved but since most Windows users will sync these 
(and often only these) special files, it would be nice if unison could 
recognize them in path specifications.

My second question: I believe that Windows does not have permissions in 
the file specification (the Professional versions have user access 
rules, but I believe that these are in a separate index and not in the 
file structure?) but the files can have properties like hidden and 
read-only. So what should we do about the dontchmod and perms arguments? 
Use them as I have done, or not? The sync seems to run with or without them.

Thanks and best regards,

     John

-- 
************

                John B. Rose
                1 Bis rue des Châtre-Sacs
                92310 Sèvres, France

                Email:[email protected]

-- 
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.