home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / next / misc / 21769 < prev    next >
Encoding:
Text File  |  1992-11-08  |  1.8 KB  |  49 lines

  1. Newsgroups: comp.sys.next.misc
  2. Path: sparky!uunet!psinntp!juliet!news
  3. From: drew@fnbc.com (Drew Davidson)
  4. Subject: Re: adding file suffix
  5. Message-ID: <1992Nov8.215739.6756@fnbc.com>
  6. Sender: news@fnbc.com
  7. Reply-To: drew@fnbc.com
  8. Organization: First National Bank Of Chicago, Chicago IL, USA
  9. References: <1992Nov8.215031.5855@fnbc.com>
  10. Date: Sun, 8 Nov 92 21:57:39 GMT
  11. Lines: 36
  12.  
  13. In article <1992Nov8.215031.5855@fnbc.com> drew@fnbc.com (Drew Davidson)  
  14. writes:
  15. > In article <1992Nov7.175558.3483@macadam.com> hfp@macadam.com (Hal  
  16. Fox-Palmer)  
  17. > writes:
  18. > > I just transfered about 200 Mac tiff files from a Mac HD to my NeXT HD.
  19. > > Of course they show up just like text files which I just add the .tiff  
  20. > > suffix and everthing is fine. But I don't want to change them all by hand  
  21. > > so the QUESTION is;  is there a neat UNIX thing that will allow me to  
  22. > > batch them all with the .tiff suffix ??
  23. > > 
  24. > > THANKS
  25. > > 
  26. > > Hal Fox-Palmer    MACadam Computers
  27. > > hfp@macadam.com
  28. > Put them all in a single directory, open Terminal (you should get csh by  
  29. > default).  Type:
  30. > foreach file (*)
  31. >     mv $file $file.tiff
  32. > end
  33. > and voila!  your files are now TIFF.
  34. > --
  35.  
  36. I forgot:  After opening Terminal type "cd" then drag the folder from the  
  37. Workspace into your Terminal window and hit return.  This will put you in that  
  38. directory.
  39. --
  40. +--------------------------------+-------------------------------------------+
  41. |        Drew  Davidson          | "Never ask a programmer if he'll have     |
  42. |         Software Guy           |  another cup of coffee because it's       |
  43. | First National Bank of Chicago |  nobody's damn business how much he's     |
  44. |     drew@fnbc.com  (NeXTmail)  |  already had!"       - me                 |
  45. +--------------------------------+-------------------------------------------+
  46.