Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Main Support Categories > General Help
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.
Ubuntu 9.10 is out!!!

When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu.

The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely.

General Help
All your general support questions for Ubuntu, Kubuntu, Edubuntu and Xubuntu.

 
Thread Tools Display Modes
Old June 25th, 2006   #1
boom2k1
Way Too Much Ubuntu
 
Join Date: Jun 2006
Beans: 222
rsync upper case/ lower case problem!!! HELP!

I use rsync -urv /a /b

to transfer files from one partition to another.

THe problem is that the originally directory contains a subdirectory called T2, but as it is copied to b, it changes to t2!
The problem is that any files and subdirectories inside T2 won't get copied to t2!

Does anyone know how to fix this?

Thanks!
boom2k1 is offline   Reply With Quote
Old June 25th, 2006   #2
mlind
Skinny Extra Sweet Ubuntu
 
mlind's Avatar
 
Join Date: Nov 2005
Beans: 2,325
Ubuntu Intrepid Ibex (testing)
Re: rsync upper case/ lower case problem!!! HELP!

does rsync -avz /a /b work?
mlind is offline   Reply With Quote
Old June 25th, 2006   #3
boom2k1
Way Too Much Ubuntu
 
Join Date: Jun 2006
Beans: 222
Re: rsync upper case/ lower case problem!!! HELP!

Let me try now, but I think it is a problem with Fat32 system!
Is there anyway to get around this (besides using Ext3)?

Thanks!
boom2k1 is offline   Reply With Quote
Old June 25th, 2006   #4
boom2k1
Way Too Much Ubuntu
 
Join Date: Jun 2006
Beans: 222
Re: rsync upper case/ lower case problem!!! HELP!

No.. same problem.

Every upper case characters in the filenames got converted into lower case..
hence it gives me such errors.

I don't know if it is only for the Fat32 system.. but I am just trying to find a solution for the Fat32 system!

Any ideas?

Thanks!
boom2k1 is offline   Reply With Quote
Old June 25th, 2006   #5
mlind
Skinny Extra Sweet Ubuntu
 
mlind's Avatar
 
Join Date: Nov 2005
Beans: 2,325
Ubuntu Intrepid Ibex (testing)
Re: rsync upper case/ lower case problem!!! HELP!

This could be related on how your fat32 partition is mounted
mlind is offline   Reply With Quote
Old June 25th, 2006   #6
mlind
Skinny Extra Sweet Ubuntu
 
mlind's Avatar
 
Join Date: Nov 2005
Beans: 2,325
Ubuntu Intrepid Ibex (testing)
Re: rsync upper case/ lower case problem!!! HELP!

see man mount and look mount options for vfat

You probably want
shortname=winnt or shortname=win95
mlind is offline   Reply With Quote
Old June 25th, 2006   #7
boom2k1
Way Too Much Ubuntu
 
Join Date: Jun 2006
Beans: 222
Re: rsync upper case/ lower case problem!!! HELP!

Thanks!

How should you mount the drive??

Can you give me the line to do it? Thanks!
boom2k1 is offline   Reply With Quote
Old June 25th, 2006   #8
boom2k1
Way Too Much Ubuntu
 
Join Date: Jun 2006
Beans: 222
Re: rsync upper case/ lower case problem!!! HELP!

There is something REALLY STrange.

On My Fat32 drive,

when I try to make a directory "T2" by creating a folder in the File Browser, it automatically gets rename to "T2"

WHY??

How can I prevent this from happening?
boom2k1 is offline   Reply With Quote
Old June 25th, 2006   #9
mlind
Skinny Extra Sweet Ubuntu
 
mlind's Avatar
 
Join Date: Nov 2005
Beans: 2,325
Ubuntu Intrepid Ibex (testing)
Re: rsync upper case/ lower case problem!!! HELP!

If the fat32 partitions is already mounted, you need to umount it first


For example, your fat32 drive is /dev/hda1 and you want to mount it as /media/storage
Code:
sudo mount /dev/hda1 /media/storage -t vfat -o iocharset=utf8,umask=000,shortname=winnt
try with shortname=win95 too.
mlind is offline   Reply With Quote
Old June 25th, 2006   #10
boom2k1
Way Too Much Ubuntu
 
Join Date: Jun 2006
Beans: 222
Re: rsync upper case/ lower case problem!!! HELP!

OMG PERFECT!!!!!!!!!

THANK YOU SO MUCH!!!


Let me try it with rsync now! I will tell you how it goes !
boom2k1 is offline   Reply With Quote

Bookmarks

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 03:59 AM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry