It's too late, I realize, but here is how you could have done it:
%REPEAT
%SETVAR CURRFILENAME FINFO("!MPEXCURRENTFILE","FNAME")
%SETVAR DOWNSFNAME DWNS(CURRFILENAME)
%RENAME !CURRFILENAME,./!DOWNSFNAME
%FORFILES <fileset>
The first SETVAR isolates the file name portion of the fully-qualified name.
-----Original Message-----
From: Shahan, Ray [mailto:[log in to unmask]]
Sent: Monday, November 19, 2001 8:34 AM
To: [log in to unmask]
Subject: Re: POSIX
Thanks to all. I just used the 'mv' POSIX command...one file at a time. mv
APPLE apple.
> -----Original Message-----
> From: Ken Hirsch [SMTP:[log in to unmask]]
> Sent: Monday, November 19, 2001 10:19 AM
> To: Shahan, Ray; [log in to unmask]
> Subject: Re: POSIX
>
> If you start the file names with a dot or slash, MPEX will recognize them
> as
> POSIX names and preserve case:
> BUILD ./dog;REC=-1,,b
>
> ----- Original Message -----
> From: "Shahan, Ray" <[log in to unmask]>
> To: <[log in to unmask]>
> Sent: Monday, November 19, 2001 11:17 AM
> Subject: POSIX
>
>
> > Tried to do a rename from MPEX to downshift my file names (and hopefully
> my
> > subdirectories too), but MPEX just renamed then as uppercase. I then
> did
> a
> > build of a file, DOG, but MPEX made that file name DOG.
> >
> > Any suggestions on how to do a mass rename to downshift the subd's, and
> > their files?
> >
> > * To join/leave the list, search archives, change list settings, *
> > * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
> >
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|