🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: adding file suffix

#3242
From: Drew Davidson
Date: Sun, 08 Nov 1992 21:57
36 lines
1884 bytes
In article <1992Nov8.215031.5855@fnbc.com> drew@fnbc.com (Drew Davidson)  
writes:
> 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 ??
> > 
> > THANKS
> > 
> > Hal Fox-Palmer    MACadam Computers
> > hfp@macadam.com
> 
> Put them all in a single directory, open Terminal (you should get csh by  
> default).  Type:
> 
> foreach file (*)
>     mv $file $file.tiff
> end
> 
> and voila!  your files are now TIFF.
> --

I forgot:  After opening Terminal type "cd" then drag the folder from the  
Workspace into your Terminal window and hit return.  This will put you in that  
directory.
--
+--------------------------------+-------------------------------------------+
|        Drew  Davidson          | "Never ask a programmer if he'll have     |
|         Software Guy           |  another cup of coffee because it's       |
| First National Bank of Chicago |  nobody's damn business how much he's     |
|     drew@fnbc.com  (NeXTmail)  |  already had!"       - me                 |
+--------------------------------+-------------------------------------------+
Technical Details
Message-ID: <1992Nov8.215739.6756@fnbc.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!psinntp!juliet!news
References: <1992Nov8.215031.5855@fnbc.com>

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.misc
Path: arc1-ca.pugleaf.net!sparky!uunet!psinntp!juliet!news
From: drew@fnbc.com (Drew Davidson)
Subject: Re: adding file suffix
Message-ID: <1992Nov8.215739.6756@fnbc.com>
Sender: news@fnbc.com
Reply-To: drew@fnbc.com
Organization: First National Bank Of Chicago, Chicago IL, USA
References: <1992Nov8.215031.5855@fnbc.com>
Date: Sun, 8 Nov 92 21:57:39 GMT
Lines: 36