period in folder name

Stephen Zemlicka stevezemlicka at gmail.com
Fri Oct 12 04:06:59 GMT 2007


I'm not sure which but either an XP machine or a OSX machine is creating
those folders.  I'll check out the script, it shouldn't be too hard to do.

_____________________________
Stephen Zemlicka
Integrated Computer Technologies
PH. 608-558-5926
E-Mail stevezemlicka at gmail.com 

-----Original Message-----
From: hashproduct at gmail.com [mailto:hashproduct at gmail.com] On Behalf Of Matt
McCutchen
Sent: Thursday, October 11, 2007 11:02 PM
To: Stephen Zemlicka
Cc: rsync at lists.samba.org
Subject: Re: period in folder name

On 10/11/07, Stephen Zemlicka <stevezemlicka at gmail.com> wrote:
> XP Pro on both ends.  This is the error in the log
>
> building file list ... file has vanished: "/cygdrive/F/Share/CP
> Art/M-P/M/McCullough Const."
> done
> IO error encountered -- skipping file deletion

I imagine that once a period gets into the filename, readdir returns
the name with the period, but when rsync attempts to stat the
directory using that name, Windows strips off the period, causing the
call to miss the actual file.  What I'm wondering is how the period
got there in the first place since Windows seems to strip periods when
files are created (at least in my test on Windows Vista).  Is the
source on a mapped drive backed by a Linux machine, and are customers
creating files directly on the Linux machine?  In that case, Linux
would accept the period and send it to Windows clients listing the
mapped drive.

In any case, there are two things you might try:

(1) If the source is on a Linux machine, run the sending side of rsync
on that machine (rather than over the mapped drive) so rsync can
access the period-ending files correctly.  Keep in mind that if rsync
writes the files to a Windows destination, the periods will get
stripped on the destination.

(2) Before each backup, run a script that scans the source for
period-ending files and renames them.

Matt



More information about the rsync mailing list