🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.misc
Article #3244

Re: adding file suffix

#3244
From: Paul Lynch
Date: Sun, 08 Nov 1992 22:27
22 lines
1197 bytes
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
Technical Details
Message-ID: <1992Nov8.222741.759@seer.demon.co.uk>
Path: arc1-ca.pugleaf.net!sparky!uunet!pipex!demon!seer.demon.co.uk!paul
References: <1992Nov7.175558.3483@macadam.com>

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.misc
Path: arc1-ca.pugleaf.net!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