[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-linux
Subject: Re: [kde-linux] Folders with all capital letters not copied
From: Bruce Miller <subscribe () brmiller ! ca>
Date: 2008-11-03 1:41:45
Message-ID: 941812.77976.qm () web88306 ! mail ! re4 ! yahoo ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
----- Original Message ----
From: Nathan <nathan@paysonlinux.org>
To: For people using KDE on Linux with related questions/problems <kde-linux@kde.org>
Sent: Sunday, November 2, 2008 6:27:54 PM
Subject: Re: [kde-linux] Folders with all capital letters not copied
>
> #!/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
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.
___________________
Reply:
Thanks for the ideas. A couple of issues, however:
1. rsync was designed by the Samba team from the ground up to be a very fast, highly \
efficient incremental copy tool. 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.
[Attachment #5 (text/html)]
<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>
___________________________________________________
This message is from the kde-linux mailing list.
Account management: https://mail.kde.org/mailman/listinfo/kde-linux.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic