Re: Lower-case filenames on receiver side

This is a discussion on Re: Lower-case filenames on receiver side within the Rsync forums, part of the Networking and Network Related category; --===============1745480131== Content-Type: multipart/alternative; boundary=Apple-Mail-4--445384427 --Apple-Mail-4--445384427 Content-Type: text/plain; charset=US-...


Go Back   Usenet Forums > Networking and Network Related > Rsync

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-08-2008
Marco Bridge
 
Posts: n/a
Default Re: Lower-case filenames on receiver side


--===============1745480131==
Content-Type: multipart/alternative; boundary=Apple-Mail-4--445384427


--Apple-Mail-4--445384427
Content-Type: text/plain;
charset=US-ASCII;
format=flowed;
delsp=yes
Content-Transfer-Encoding: 7bit

Sorry for replying to myself, but i think this is quite a problem...
I mean, rsync seems to be arbitrarily changing filenames
Is this the wrong place for such a question? Should i fill in a bug
report?
Marco

On 5 Apr, 2008, at 13:30 , Marco Bridge wrote:

> Hi everybody,
> i've been using rsync for quite some time to sync files between my
> laptop and my desktop
> for example i use the following to backup the music library (from
> Mac to Linux)
>> rsync -rvzu --exclude=.DS_Store --delete --exclude 'Podcasts/*'
>> $LOCAL_MUSI $REMOTE_MUSIC >> $LOGFILE

>
> An odd thing i always noticed is that some files were always copied,
> even running the above command 2 times consecutively.
> This was happening only for about 30 files in a library of 3000+
> songs and with some pdf documents,
> so it seemed just some weirdness in the files.
>
> However i just noticed something interesting from today's log,
> there seems to be something wrong with the capitalization of some
> filenames
>> deleting acdc/Back In Black/Back In Black.mp3
>> deleting acdc/Back In Black/
>> deleting Pink Floyd/The division Bell/Cluster one.mp3
>> deleting Pink Floyd/The division bell/Keep tolking.mp3
>> deleting Pink Floyd/The division bell/A great day for freedom.mp3
>> ...
>> ACDC/Back In Black/
>> ACDC/Back In Black/Back In Black.mp3
>> Pink Floyd/The division Bell/A great day for freedom.mp3
>> Pink Floyd/The division Bell/Keep tolking.mp3
>> Pink Floyd/The division bell/Cluster one.mp3

>
> The folder 'ACDC/' is copied to the other computer as 'acdc/'
> for this reason the next time it will be deleted and re-sent.
>
> in the Pink Floyd case, look at how the 'B' in 'Bell' changes
> In this case the folder name seems to be ok on the receiver side,
> but rsync deletes the entire folder anyway.
>
> Notice that there are many other file in my library with mixed upper
> and lower-case names
> (also full upper/lower-case) and they're not affected.
>
> What could be causing that?
>
> Best regards
> Marco
>
> More info
> *Source
> Filesystem: Mac OS Extended
> Macintosh, OSX 10.5 Leopard
> rsync version 2.6.3 protocol version 28
> Capabilities: 64-bit files, socketpairs, hard links, symlinks,
> batchfiles,
> inplace, IPv6, 32-bit system inums, 64-bit internal
> inums
>
> *Destination
> Ubuntu Linux 7.10
> Filesystem: vfat (fat32)
> rsync version 2.6.9 protocol version 29
> Capabilities: 64-bit files, socketpairs, hard links, symlinks,
> batchfiles, inplace, IPv6, ACLs,
> 64-bit system inums, 64-bit internal inums
>
>



--Apple-Mail-4--445384427
Content-Type: text/html;
charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

<html><body style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; =
-webkit-line-break: after-white-space; ">Sorry for replying to myself, =
but i think this is quite a problem...<div>I mean, rsync seems to be =
arbitrarily changing filenames</div><div>Is this the wrong place for =
such a question? Should i fill in a bug =
report?</div><div>Marco<br><div><br></div><div><div><html>On 5 Apr, =
2008, at 13:30 , Marco Bridge wrote:</html><br =
class=3D"Apple-interchange-newline"><blockquote type=3D"cite"><div =
style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; =
-webkit-line-break: after-white-space; =
"><div><div></div></div><div><div>Hi everybody,&nbsp;</div><div>i've =
been using rsync for quite some time to sync files between my laptop and =
my desktop</div><div>for example i use the following to backup the music =
library (from Mac to Linux)</div><div><blockquote type=3D"cite">rsync =
-rvzu&nbsp;--exclude=3D.DS_Store --delete&nbsp;--exclude =
'Podcasts/*'&nbsp;$LOCAL_MUSI&nbsp;$REMOTE_MUSIC >> =
$LOGFILE</blockquote></div></div><div>An odd thing i always noticed is =
that some files were always copied,&nbsp;</div><div>even running the =
above command&nbsp;2 times consecutively.</div><div>This was happening =
only for about 30 files in a library of 3000+ songs and with some pdf =
documents,&nbsp;</div><div>so it seemed just some weirdness in the =
files.</div><div><br></div><div>However i just noticed something =
interesting from today's log,&nbsp;</div><div>there seems to be =
something wrong with the capitalization of some =
filenames</div><div><div><div></div></div></div><blockquote =
type=3D"cite"><div><div><div><font class=3D"Apple-style-span" =
color=3D"#000000">deleting acdc/Back In Black/Back In =
Black.mp3</font></div><div><font class=3D"Apple-style-span" =
color=3D"#000000">deleting acdc/Back In =
Black/</font></div></div><div></div><div><font class=3D"Apple-style-span" =
color=3D"#000000">deleting Pink Floyd/The division Bell/Cluster =
one.mp3</font></div><div><font class=3D"Apple-style-span" =
color=3D"#000000">deleting Pink Floyd/The division bell/Keep =
tolking.mp3</font></div><div><font class=3D"Apple-style-span" =
color=3D"#000000">deleting Pink Floyd/The division bell/A great day for =
freedom.mp3</font></div><div><div><font class=3D"Apple-style-span" =
color=3D"#000000">...</font></div></div><div><font =
class=3D"Apple-style-span" color=3D"#000000">ACDC/Back In =
Black/</font></div><div><font class=3D"Apple-style-span" =
color=3D"#000000">ACDC/Back In Black/Back In =
Black.mp3</font></div><div></div><div><font class=3D"Apple-style-span" =
color=3D"#000000">Pink Floyd/The division Bell/A great day for =
freedom.mp3</font></div><div><font class=3D"Apple-style-span" =
color=3D"#000000">Pink Floyd/The division Bell/Keep =
tolking.mp3</font></div><div><font class=3D"Apple-style-span" =
color=3D"#000000">Pink Floyd/The division bell/Cluster =
one.mp3</font></div></div></blockquote><div><br></div><div>The folder =
'ACDC/' is copied to the other computer as 'acdc/'&nbsp;</div><div>for =
this reason the next time&nbsp;it will be deleted and =
re-sent.</div><div><br></div><div>in the Pink Floyd case, look at how =
the 'B' in 'Bell' changes</div><div>In this case the folder name seems =
to be ok on the receiver side,&nbsp;</div><div>but rsync deletes the =
entire folder anyway.</div><div><br></div><div>Notice that there are =
many other file in my library with mixed upper and lower-case =
names</div><div>(also full upper/lower-case) and they're not =
affected.</div><div><br></div><div>What could be causing =
that?</div><div><br></div><div>Best =
regards</div><div>Marco</div><div><br></div><div>More =
info</div><div>*Source</div><div>Filesystem:&nbsp;Mac OS =
Extended</div><div>Macintosh, OSX 10.5 Leopard</div><div><div>rsync =
&nbsp;version 2.6.3 &nbsp;protocol version 28</div><div>Capabilities: =
64-bit files, socketpairs, hard links, symlinks, =
batchfiles,&nbsp;</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp; &nbsp;inplace, IPv6, 32-bit system inums, 64-bit internal =
inums</div><div><br></div><div>*Destination</div><div>Ubuntu Linux =
7.10</div></div>Filesystem: vfat (fat32)<div>rsync &nbsp;version 2.6.9 =
&nbsp;protocol version 29<br></div><div>Capabilities: 64-bit files, =
socketpairs, hard links, =
symlinks,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;batchfiles, inplace, IPv6, =
ACLs,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;64-bit system inums, 64-bit internal =
inums<br><div><br><br></div></div></div></blockquote></div><br></div></div=
></body></html>=


--Apple-Mail-4--445384427--

--===============1745480131==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

--
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
--===============1745480131==--
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 10:36 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0