<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:tahoma,new york,times,serif;font-size:10pt"><div style="font-family: tahoma,new york,times,serif; font-size: 10pt;"><div style="font-family: arial,helvetica,sans-serif; font-size: 10pt;">----- Original Message ----<br>From: Nathan <nathan@paysonlinux.org><br>To: For people using KDE on Linux with related questions/problems <kde-linux@kde.org><br>Sent: Sunday, November 2, 2008 6:27:54 PM<br>Subject: Re: [kde-linux] Folders with all capital letters not copied<br><br>> <br>> #!/bin/bash -u<br>> # back-up home directory to a specific pendrive identified in /etc/fstab by its UUID<br>> <br>> cd<br>> mount /media/pendrive<br>> rsync -Cvrtz --modify-window=1 /home/bruce/Documents /media/pendrive/<br>> rsync -Cvrtz --modify-window=1 /home/bruce/configs /media/pendrive/<br>> rsync -Cvrtz --modify-window=1 --exclude=**jar
--exclude=blogbridge** --exclude=OmegaT** --exclude=bitext2tmx-1.0M0-080229** /home/bruce/bin /media/pendrive/<br>> rsync -Cvrtz --modify-window=1 /media/pendrive/Documents /home/bruce/<br>> <br>> cd ~/Documents<br>> find . -perm -0750 -and -not -type d -exec chmod 0644 {} \;<br>> umount /media/pendrive<br><br><br><br>What if instead of copying everything, you just create a tar file then move the tar file to the pendrive? When you extract the files you can preserve the attributes... Since you are using a script it should be painless.<br><br>___________________<br>Reply:<br><br>Thanks for the ideas. A couple of issues, however:<br>1. rsync was designed by the Samba team from the ground up to be a very fast, highly efficient incremental copy tool.<br>2.
it is the vfat aka FAT32 filesystem, designed by Microsoft, which
pollutes the attributes, not the copying process. The use of tar would not solve anything. Since I attend a
militantly Microsoft-centric institution :-( and am in a field where
the best-of-breed software that I have so far discovered is written for
Windows :-(, I need to use a filesystem on my pendrive which Microsoft
OSs can read. Pendrives typically are sold formatted in FAT32.<br><br></div></div></div></body></html>