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
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
-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
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
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
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
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
> > 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
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
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 >
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
-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 ?
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
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
> 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
-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
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]' '
> 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
> 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 $
> 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;
> "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
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
22 matches
Mail list logo