RSYNC changes file name

Erwan David erwan at rail.eu.org
Tue Jan 29 19:33:10 UTC 2019


Le 29/01/2019 à 18:31, James B. Byrne via freebsd-questions a écrit :
>
> On Tue, January 29, 2019 09:36, James B. Byrne wrote:
>> I am using rsync to backup a cyrus-imap maildir tree.  Messages are
>> stored in the maildir with files names consisting of a number followed
>> by a trailing dot.  For example '12345,'  My problem is that when
>> rsync copies the files from the maildir to the backup device the file
>> names that it creates on the target lack the tailing dot.   So the
>> message '12345.' becomes '12345' on the target.
>>
> Further testing reveals that this anomaly does not happen when the
> rsync target is on the system HDD.  It does happen when the target is
> a USB flash memory drive.
>

What is the filesystem of your USB drive ? if it is FAT, the . is a
special separator between name and extension and so your file is 12345
without extension.

I do not know about NTFS in this respect



More information about the freebsd-questions mailing list