home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / next / misc / 21772 < prev    next >
Encoding:
Internet Message Format  |  1992-11-08  |  1.1 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!darwin.sura.net!gatech!rutgers!rochester!cantaloupe.srv.cs.cmu.edu!crabapple.srv.cs.cmu.edu!andrew.cmu.edu!cs4w+
  2. From: cs4w+@andrew.cmu.edu (Charles William Swiger)
  3. Newsgroups: comp.sys.next.misc
  4. Subject: Re: adding file suffix
  5. Message-ID: <oezPSP_00WBOA4CI0a@andrew.cmu.edu>
  6. Date: 9 Nov 92 00:58:03 GMT
  7. Organization: Senior, Chemistry, Carnegie Mellon, Pittsburgh, PA
  8. Lines: 21
  9. In-Reply-To: <1992Nov7.175558.3483@macadam.com>
  10.  
  11. Change to the directory that contains the files.
  12.  
  13. Try:
  14.  
  15. foreach f ( * )    <type return>
  16. mv $f ${f:r}.tiff  <type return>
  17. end                <type return>
  18.  
  19. If the files have a common extension (say .mac), you can replace the "(
  20. * )" with "( *.mac )" and this will only affect the files with that
  21. extension.
  22.  
  23. -Chuck
  24.  
  25.  
  26.  
  27. +---------------------------------------------+ 
  28. |  Charles William Swiger -- CMU sucks rocks  | "The television screen is the
  29. |   AMS & normal mail: cs4w+@andrew.cmu.edu   | retina of the mind's eye."
  30. |    NeXTmail: <temporarily out of order>     |           
  31. +---------------------------------------------+            --Videodrome
  32.