home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.next.misc
- Path: sparky!uunet!pipex!demon!seer.demon.co.uk!paul
- From: paul@seer.demon.co.uk (Paul Lynch)
- Subject: Re: adding file suffix
- Message-ID: <1992Nov8.222741.759@seer.demon.co.uk>
- Sender: paul@seer.demon.co.uk
- Organization: P & L Systems
- References: <1992Nov7.175558.3483@macadam.com>
- Date: Sun, 8 Nov 1992 22:27:41 GMT
- Lines: 22
-
- In article <1992Nov7.175558.3483@macadam.com> hfp@macadam.com (Hal
- Fox-Palmer) writes:
- > I just transfered about 200 Mac tiff files from a Mac HD to my NeXT HD.
- > Of course they show up just like text files which I just add the .tiff
- > suffix and everthing is fine. But I don't want to change them all by
- hand
- > so the QUESTION is; is there a neat UNIX thing that will allow me to
- > batch them all with the .tiff suffix ??
-
- foreach file (*)
- mv $file $file.tiff
- end
-
- in a Terminal window. Change the (*) thing to match all of your files; or
- write a Terminal Service to do it.
-
- Paul
- --
- Paul Lynch
- P & L Systems (NeXTmail) paul@seer.demon.co.uk
- Tel: (0494)671501 paull@cix.compulink.co.uk
- Fax: (0494)680228 76711.451@compuserve.com
-