RSYNC changes file name
James B. Byrne
byrnejb at harte-lyne.ca
Tue Jan 29 22:17:30 UTC 2019
On Tue, January 29, 2019 17:00, Polytropon wrote:
>>
>> The purpose of the USB key archives is to allow me to search for
>> specific files, generally UFT8 encoded, using the native file system
>> tools on whatever host I have access to. I do this on a regular
>> basis. Encapsulating the data in a file format that depends upon
>> access to a specific application defeats the purpose.
>
> Okay, this makes perfectly sense.
>
> So you do _not_ use those files to restore IMAP message content
> on the server you've rsync'ed them from, you're just unhappy
> with the fact that "12345." became "12345" on FAT due to
> naming restrictions. In this case, you can convince yourself
> that you didn't do anything wrong, it's just FAT that doesn't
> allow a "." at the end of the filename. Maybe it is possible
> to live with this fact, or try to change the source file naming
> convention from "xxxxx." to "xxxxx" (where x = 0...9), if that
> is possible.
>
I am considering modifying the transfer script so as to remove the
trailing dot before hitting the FAT fs. That would prevent rsync from
deleting all of the files on the target that do not have trailing dots
before replacing them with files with the exact names as those it just
deleted.
Regards,
--
*** e-Mail is NOT a SECURE channel ***
Do NOT transmit sensitive data via e-Mail
Do NOT open attachments nor follow links sent by e-Mail
James B. Byrne mailto:ByrneJB at Harte-Lyne.ca
Harte & Lyne Limited http://www.harte-lyne.ca
9 Brockley Drive vox: +1 905 561 1241
Hamilton, Ontario fax: +1 905 561 0757
Canada L8E 3C3
More information about the freebsd-questions
mailing list