[HPADM] Renaming files in a directory

From: Baskins, Michael (michael.baskins@medtronic.com)
Date: Wed Jan 29 2003 - 17:50:26 EST


ALL,
   I am trying to write a script that renames the files in a directory:
from

patient_statement_...
pateint_statement_...
...
etc

to

30310.1
30310.2
...
etc

It could be underscores but I must rename all of the files
in order to ftp them to a dos system ...

Any help would be appreciated !!!

Thanks

Michael Baskins
Sr Unix Admin
818-576-5835
818-576-5777

--
             ---> Please post QUESTIONS and SUMMARIES only!! <---
        To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl
       Name: hpux-admin@dutchworks.nl     Owner: owner-hpux-admin@dutchworks.nl
 
 Archives:  ftp.dutchworks.nl:/pub/digests/hpux-admin       (FTP, browse only)
            http://www.dutchworks.nl/htbin/hpsysadmin   (Web, browse & search)


This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 11:02:25 EDT