[kde-linux] Folders with all capital letters not copied

Jason Mancini jayrusman at hotmail.com
Sun Nov 2 23:20:07 UTC 2008



Funnily enough, I hit a similar problem in _windows_ yesterday ... *.mp3 files in folders named CD1, CD2, etc won't play or click or right-click properties unless the folder is renamed.  Something special about the name it seems (in both?!)
Jason


Date: Sun, 2 Nov 2008 14:42:01 -0800
From: subscribe at brmiller.ca
To: kde-linux at kde.org; maxmadmax at web.de
Subject: Re: [kde-linux] Folders with all capital letters not copied



I have experienced exactly the same problem. It is disconcerting.

I am the author (in real life) and the owner (in Linux permission terms) of the directories and files in question. Because I use a usb-disk to synchronize documents between home and university, I routinely use a bash script to manage the syncs including "smoothing" ownerships and permissions (including resetting the infamous execute bit set when copying from vfat).
 
Interestingly, the directories show up in "that other operating system" with all caps, but when updated back to Linux using rsync, they come across as lower-case. This is my script:

#!/bin/bash -u
# back-up home directory to a specific pendrive identified in /etc/fstab by its UUID

cd
mount /media/pendrive
rsync -Cvrtz
 --modify-window=1 /home/bruce/Documents /media/pendrive/
rsync -Cvrtz --modify-window=1 /home/bruce/configs /media/pendrive/
rsync -Cvrtz --modify-window=1 --exclude=**jar --exclude=blogbridge** --exclude=OmegaT** --exclude=bitext2tmx-1.0M0-080229** /home/bruce/bin /media/pendrive/
rsync -Cvrtz --modify-window=1 /media/pendrive/Documents  /home/bruce/

cd ~/Documents
find . -perm -0750 -and -not -type d -exec chmod 0644 {} \;
umount /media/pendrive
--
Bruce Miller, Ottawa, Ontario, Canada
bruce at brmiller.ca; (613) 745-1151

Maybe we can eventually make language a complete impediment to understanding. - Hobbes the tiger

----- Original Message ----
From: Anne Wilson <cannewilson at googlemail.com>
To: maxmadmax at web.de; For people using
 KDE on Linux with related questions/problems <kde-linux at kde.org>
Sent: Sunday, November 2, 2008 5:18:48 PM
Subject: Re: [kde-linux] Folders with all capital letters not copied

On Sunday 02 November 2008 21:24:18 Maximilian B. Rost wrote:
> KDE 3.5.9
> Konqueror
>
> Hello,
>
> trying to copy subdirectories with capital letters as CD1, CD2 fails. The
> subdirectories are copied with small letters cd1, cd2 from harddisk to
> usb-disk and after creating the subdirectories the content is not copied.
>
> The filesystem of the usb-disk is vfat.
>
> Are there any tricks except of giving all subdirectories minor letters
> before copying?
>
I've never seen any problem in copying any directories, but is it possible 
that you don't own the files in question?

You need to be aware that vfat has problems with capitalisation and cannot 
handle
 permissions at all.

Anne

_________________________________________________________________
Stay organized with simple drag and drop from Windows Live Hotmail.
http://windowslive.com/Explore/hotmail?ocid=TXT_TAGLM_WL_hotmail_102008
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-linux/attachments/20081102/e2a000f1/attachment.html>


More information about the kde-linux mailing list