home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!charon.amdahl.com!pacbell.com!ames!haven.umd.edu!umd5!oberon.umd.edu!matthews
- From: matthews@oberon.umd.edu (Mike Matthews)
- Newsgroups: comp.sys.next.misc
- Subject: Re: adding file suffix
- Message-ID: <16938@umd5.umd.edu>
- Date: 12 Nov 92 02:24:04 GMT
- References: <721285254.AA00000@blkcat.UUCP>
- Sender: news@umd5.umd.edu
- Organization: /etc/organization
- Lines: 26
-
- In article <721285254.AA00000@blkcat.UUCP> David.Gursky@p394.f70.n109.z1.fidonet.org (David Gursky) writes:
-
- >How about moving them all into a single sub-directory, opening a terminal
- >shell, moving to the aforementioned directory, and using a command to the
- >effect of "mv * *.tiff"
-
- YOW!
-
- You've got the right idea, but 'mv * *.tiff' will definitely not work. The
- shell will expand that command out to
-
- mv file1 file2 file3 .... filen
-
- (the *.tiff will presumably give no matches)
-
- so you've just renamed all of your filse to the last one. Kaboom. Or, if mv
- were smart, it would complain that filen isn't a directory. But I don't
- think mv is that smart (and I don't care to find out at this moment).
- ------
- Mike Matthews, matthews@oberon.umd.edu (NeXTmail accepted)
- ------
- Death is life's way of telling you you've been fired.
- -- R. Geis
-
-
-
-