LSTSRV-L Archives

LISTSERV Site Administrators' Forum

LSTSRV-L

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Topic: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Gregory Decker <[log in to unmask]>
Mon, 29 Jul 1996 12:58:53 -0400
text/plain (31 lines)
>
> I just migrated my first list that has log files and found that when I
> FTPd them from VM to Unix they retained the uppercase file names.  So I
> did an INDEX NYCOMNET and it returned an empty NYCOMNET FILELIST.  Next I
> did a 'mv NYCOMNET.LOG9410 nycomnet.log9410' and re-issued my INDEX NYCOMNET
> and this time got a NYCOMNET FILELIST with that one lig file listed.
>
> Can LISTSERV be modified to ignore the case of the log file names?
> Or, do I have to renamed *every* one of the 5,000+ logs files I will
> eventually be moving?
>
> Jim...
>
 
I moved hundreds of lists (thousands of log files) from VM to UNIX with
a couple of PERL scripts. I issued the equivalent of the UNIX commands
"rename 'tr /A-Z/a-z/' *" which will change all file names in the current
directory from upper to lower case.
 
In PERL this looks like "$foobar=~tr/A-Z/a-z/;" which will change the case of
foobar's name from upper to lower. "tr" is the translate command.
 
-----------------------------------------------------------------------
Gregory Decker
National Institutes of Health/DCRT/NSB
PH:  301-402-4763
FAX: 301-480-6041
EMail: [log in to unmask]
 
-----------------------------------------------------------------------

ATOM RSS1 RSS2