Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!snorkelwacker.mit.edu!bloom-beacon!eru!hagbard!sunic!ericom!ericom!dag From: dag@ericsson.se (Dag von Arnold) Newsgroups: comp.unix.shell Subject: Rename script or ...? Message-ID: Date: 6 Feb 91 08:18:34 GMT Sender: news@ericsson.se Reply-To: dag@beppe.ericsson.se Organization: Ericsson Telecom,Stockholm,Sweden. Lines: 15 I am used to the VAX/VMS world. There I can do the following commands rename foo.* bar.* rename *.pas *.c The first of these commands would rename all files beginning with 'foo.' to 'bar.' but retaining the suffixes from the input. The second command would only change the suffix. How should I do this in UNIX? Is there a tool to use or do I have to write a script, and in that case, what should the script look like? /Dag