Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Jan 2019 20:32:57 +0100
From:      Erwan David <erwan@rail.eu.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: RSYNC changes file name
Message-ID:  <83ca411b-a9f4-b298-631e-1a4c8a70a423@rail.eu.org>
In-Reply-To: <6505fe1d48e61076b6930f9a992051d7.squirrel@webmail.harte-lyne.ca>
References:  <9aaa35912b122e88e667e7516ba6a865.squirrel@webmail.harte-lyne.ca> <6505fe1d48e61076b6930f9a992051d7.squirrel@webmail.harte-lyne.ca>

next in thread | previous in thread | raw e-mail | index | archive | help

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?83ca411b-a9f4-b298-631e-1a4c8a70a423>