home *** CD-ROM | disk | FTP | other *** search
- 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+
- From: cs4w+@andrew.cmu.edu (Charles William Swiger)
- Newsgroups: comp.sys.next.misc
- Subject: Re: adding file suffix
- Message-ID: <oezPSP_00WBOA4CI0a@andrew.cmu.edu>
- Date: 9 Nov 92 00:58:03 GMT
- Organization: Senior, Chemistry, Carnegie Mellon, Pittsburgh, PA
- Lines: 21
- In-Reply-To: <1992Nov7.175558.3483@macadam.com>
-
- Change to the directory that contains the files.
-
- Try:
-
- foreach f ( * ) <type return>
- mv $f ${f:r}.tiff <type return>
- end <type return>
-
- If the files have a common extension (say .mac), you can replace the "(
- * )" with "( *.mac )" and this will only affect the files with that
- extension.
-
- -Chuck
-
-
-
- +---------------------------------------------+
- | Charles William Swiger -- CMU sucks rocks | "The television screen is the
- | AMS & normal mail: cs4w+@andrew.cmu.edu | retina of the mind's eye."
- | NeXTmail: <temporarily out of order> |
- +---------------------------------------------+ --Videodrome
-