Re: filename case

2007-03-27 Thread Michelle Konzack
Am 2007-03-11 15:55:10, schrieb Roberto C. Sanchez: > On Sun, Mar 11, 2007 at 09:03:41AM -0500, Ron Johnson wrote: > > On 03/11/07 08:43, L.V.Gandhi wrote: > > > When I copy files to vfat drives , filenames case is changed to lower > > > case. > > > Is there any way to keep them as they are ie Fil

Re: filename case

2007-03-11 Thread Roberto C. Sanchez
On Sun, Mar 11, 2007 at 05:58:19PM -0500, Ron Johnson wrote: > On 03/11/07 14:55, Roberto C. Sanchez wrote: > > On Sun, Mar 11, 2007 at 09:03:41AM -0500, Ron Johnson wrote: > >> On 03/11/07 08:43, L.V.Gandhi wrote: > >>> When I copy files to vfat drives , filenames case is changed to lower > >>> c

Re: filename case

2007-03-11 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/11/07 14:55, Roberto C. Sanchez wrote: > On Sun, Mar 11, 2007 at 09:03:41AM -0500, Ron Johnson wrote: >> On 03/11/07 08:43, L.V.Gandhi wrote: >>> When I copy files to vfat drives , filenames case is changed to lower case. >>> Is there any way to

Re: filename case

2007-03-11 Thread Roberto C. Sanchez
On Sun, Mar 11, 2007 at 09:03:41AM -0500, Ron Johnson wrote: > On 03/11/07 08:43, L.V.Gandhi wrote: > > When I copy files to vfat drives , filenames case is changed to lower case. > > Is there any way to keep them as they are ie FileName as FileName > > instead of > filename or FILENAME as FILENAME

Re: filename case

2007-03-11 Thread Cédric Lucantis
Le dimanche 11 mars 2007 18:10, L.V.Gandhi a écrit : > On 3/11/07, Cédric Lucantis <[EMAIL PROTECTED]> wrote: > > Le dimanche 11 mars 2007 14:43, L.V.Gandhi a écrit: > > > When I copy files to vfat drives , filenames case is changed to lower > > > > case. > > > > > Is there any way to keep them as

Re: filename case

2007-03-11 Thread L . V . Gandhi
On 3/11/07, Cédric Lucantis <[EMAIL PROTECTED]> wrote: > > When I copy files to vfat drives , filenames case is changed to lower > > case. Is there any way to keep them as they are ie FileName as FileName > > instead of filename or FILENAME as FILENAME instead of filename ? > > I think this work

Re: filename case

2007-03-11 Thread L . V . Gandhi
On 3/11/07, Cédric Lucantis <[EMAIL PROTECTED]> wrote: Le dimanche 11 mars 2007 14:43, L.V.Gandhi a écrit: > When I copy files to vfat drives , filenames case is changed to lower case. > Is there any way to keep them as they are ie FileName as FileName instead > of filename or FILENAME as FILENA

Re: filename case

2007-03-11 Thread Cédric Lucantis
> > When I copy files to vfat drives , filenames case is changed to lower > > case. Is there any way to keep them as they are ie FileName as FileName > > instead of filename or FILENAME as FILENAME instead of filename ? > > I think this works: > > tar -C /path/to/source -cf - . | ( cd /path/to/dest

Re: filename case

2007-03-11 Thread Cédric Lucantis
Le dimanche 11 mars 2007 14:43, L.V.Gandhi a écrit : > When I copy files to vfat drives , filenames case is changed to lower case. > Is there any way to keep them as they are ie FileName as FileName instead > of filename or FILENAME as FILENAME instead of filename ? I think this works: tar -C /pa

Re: filename case

2007-03-11 Thread Andrei Popescu
Ron Johnson <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 03/11/07 08:43, L.V.Gandhi wrote: > > When I copy files to vfat drives , filenames case is changed to > > lower case. Is there any way to keep them as they are ie FileName > > as FileName instead of >

Re: filename case

2007-03-11 Thread Andrei Popescu
L.V.Gandhi <[EMAIL PROTECTED]> wrote: > When I copy files to vfat drives , filenames case is changed to lower > case. Is there any way to keep them as they are ie FileName as > FileName instead of filename or FILENAME as FILENAME instead of > filename ? The 'shortname=' mount option seems related

Re: filename case

2007-03-11 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/11/07 08:43, L.V.Gandhi wrote: > When I copy files to vfat drives , filenames case is changed to lower case. > Is there any way to keep them as they are ie FileName as FileName > instead of > filename or FILENAME as FILENAME instead of filename ?

Re: Filename case - the simple solution ...

1996-09-23 Thread Dale Scheetz
On Mon, 23 Sep 1996 [EMAIL PROTECTED] wrote: > Resolving the case problem can also be solved VeRy simply by typing > the one magical word... case > > - NEXT TIME - when you do your FTP'ing don't forget to use the "case" > statement. > Except that, when you do thi

Re: Filename case - the simple solution ...

1996-09-23 Thread David_Oswald
Resolving the case problem can also be solved VeRy simply by typing the one magical word... case - NEXT TIME - when you do your FTP'ing don't forget to use the "case" statement. For example ... ftp> bin 200 Type set to I

Re: Filename case

1996-09-22 Thread John Goerzen
> ls | awk '{ system("mv " $0 " " tolower($0)) }' Not being familiar with awk, I can only guess that the above code transforms all filenames to lowercase. An easier way, using just the shell, would be: for ASDF in *; do mv $ASDF `echo $ASDF | tr A-Z a-z`; done -- John Goerzen | Syste

Re: Filename case

1996-09-22 Thread Santiago Vila Doncel
-BEGIN PGP SIGNED MESSAGE- ls | awk '{ system("mv " $0 " " tolower($0)) }' -BEGIN PGP SIGNATURE- Version: 2.6.3i Charset: latin1 iQCVAwUBMkUGTCqK7IlOjMLFAQFGqgP+O+pLQX1HBwMbUPaPxBXdVMSkTwdGpZb4 IL77hnWsRsTl97W+O57/aRnLpL1jhQjTWo3Be/r0h/y6Doe3e87LtjV51G0XzCK4 FQ50N8XhNs2y4LxZdMFZW

Re: Filename case

1996-09-22 Thread Philippe Troin
No python, no fancy stuff, nothing but plain old bash: for i in *; do j=`echo $i | tr '[A-Z]' '[a-z]'` if [ "$i" != "$j" ]; then mv $i $j fi done Or on a single line: for i in *; do j=`echo $i | tr '[A-Z]' '

Re: Filename case

1996-09-21 Thread Brian C. White
> I'm using Debian .96 and have a need to change all the files in a > directory from uppercase to lowercase (ftp'ed from DOS). Is there a > quick method or command to do this? There is a command called 'rename' that comes with perl. You can find it as: /usr/doc/examples/perl/rename.gz

Re: Filename case

1996-09-21 Thread James A. Robinson
> I'm using Debian .96 and have a need to change all the files in a > directory from uppercase to lowercase (ftp'ed from DOS). Is there a > quick method or command to do this? If you are using bash as a shell, or you switch into bash, you can use the following: for i in *;do mv $

Re: Filename case

1996-09-21 Thread J.H.M.Dassen
> I'm using Debian .96 and have a need to change all the files in a > directory from uppercase to lowercase (ftp'ed from DOS). Is there a > quick method or command to do this? Not a single command, but a small combination of utils will do. [Solution for use with a Bourne shell, e.g. bash;

Re: Filename case

1996-09-21 Thread Tom Fawcett
> "JR" == John Roesch <[EMAIL PROTECTED]> writes: JR> I'm using Debian .96 and have a need to change all the files in a JR> directory from uppercase to lowercase (ftp'ed from DOS). Is there a JR> quick method or command to do this? If you installed Perl: perl -e 'for $file

Re: Filename case

1996-09-21 Thread Ezio Manini
On Fri, 20 Sep 1996, John Roesch wrote: > > I'm using Debian .96 and have a need to change all the files in a > directory from uppercase to lowercase (ftp'ed from DOS). Is there a > quick method or command to do this? Have you the "python" package installed? Cd's where the files are and e