Re: Automate UPPER to lower case directory

1998-10-21 Thread David Wright
On Tue, 20 Oct 1998, Anthony Landreneau wrote: > Greetings, > Trying to automate work done by some WIN95/NT people who don't > understand > upper/lower case. I have a directory of files that are upper case and need > to be brought to lower case. Does anyones have a program or script that >

Re: Automate UPPER to lower case directory

1998-10-21 Thread Michael Beattie
On Tue, 20 Oct 1998, Anthony Landreneau wrote: > Thanks guys, got the job done. I love ths little script, fits well in my > /usr/bin too! > Tell you, you don't get help like this from Microsoft! I put my script in /usr/local/bin keeps /usr/bin messy.. the way dpkg likes it :) (Also makes

Re: Automate UPPER to lower case directory

1998-10-20 Thread Joerg Plate
1> cat /usr/local/bin/rename #!/usr/bin/perl -Tw use locale; # usage: rename perlexp [files] ($op = shift) || die "Usage: $0 perlexp [filenames]\n"; if ([EMAIL PROTECTED]) { @ARGV = ; chop(@ARGV); } for (@ARGV) { $old = $_; eval $op; die $@ if $@; $new = $_; next if $old eq $new; next

Re: Automate UPPER to lower case directory

1998-10-20 Thread Anthony Landreneau
Thanks guys, got the job done. I love ths little script, fits well in my /usr/bin too! Tell you, you don't get help like this from Microsoft! Thanks again, Anthony Landrenea Infinity Data Systems >I think this is from some HOWTO but I forget which one: > >[EMAIL PROTECTED] bin]$less up2lo >#!/

RE: Automate UPPER to lower case directory

1998-10-20 Thread Andrew Chittenden
WARNING: I have had files disappear on me when using such a script when the target filesystem is on a Win32 machine. It is safer to rename them via an intermediate name: for file in $* do to=`echo $file | tr [:upper:] [:lower:]` mv $file $to.newone;mv $to.newone $to done Rgds, And

Re: Automate UPPER to lower case directory

1998-10-20 Thread Mitch Blevins
Nathan E Norman wrote: > On Tue, 20 Oct 1998, Anthony Landreneau wrote: > > : Greetings, > :Trying to automate work done by some WIN95/NT people who don't > understand > : upper/lower case. I have a directory of files that are upper case and need > : to be brought to lower case. Does any

Re: Automate UPPER to lower case directory

1998-10-20 Thread Blazej Sawionek
> Trying to automate work done by some WIN95/NT people who don't > understand > upper/lower case. I have a directory of files that are upper case and need > to be brought to lower case. Does anyones have a program or script that > could help me do about 400 files? man mmv B.

Re: Automate UPPER to lower case directory

1998-10-20 Thread servis
*- Anthony Landreneau wrote about "Automate UPPER to lower case directory" | Greetings, | Trying to automate work done by some WIN95/NT people who don't understand | upper/lower case. I have a directory of files that are upper case and need | to be brought to lower case. Do

Re: Automate UPPER to lower case directory

1998-10-20 Thread Nathan E Norman
On Tue, 20 Oct 1998, Anthony Landreneau wrote: : Greetings, : Trying to automate work done by some WIN95/NT people who don't understand : upper/lower case. I have a directory of files that are upper case and need : to be brought to lower case. Does anyones have a program or script that

Automate UPPER to lower case directory

1998-10-20 Thread Anthony Landreneau
Greetings, Trying to automate work done by some WIN95/NT people who don't understand upper/lower case. I have a directory of files that are upper case and need to be brought to lower case. Does anyones have a program or script that could help me do about 400 files? Thanks, Anthony Landr