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

  1. Path: sparky!uunet!charon.amdahl.com!pacbell.com!ames!haven.umd.edu!umd5!oberon.umd.edu!matthews
  2. From: matthews@oberon.umd.edu (Mike Matthews)
  3. Newsgroups: comp.sys.next.misc
  4. Subject: Re: adding file suffix
  5. Message-ID: <16938@umd5.umd.edu>
  6. Date: 12 Nov 92 02:24:04 GMT
  7. References: <721285254.AA00000@blkcat.UUCP>
  8. Sender: news@umd5.umd.edu
  9. Organization: /etc/organization
  10. Lines: 26
  11.  
  12. In article <721285254.AA00000@blkcat.UUCP> David.Gursky@p394.f70.n109.z1.fidonet.org (David Gursky) writes:
  13.  
  14. >How about moving them all into a single sub-directory, opening a terminal
  15. >shell, moving to the aforementioned directory, and using a command to the
  16. >effect of "mv * *.tiff"
  17.  
  18. YOW!
  19.  
  20. You've got the right idea, but 'mv * *.tiff' will definitely not work.  The
  21. shell will expand that command out to
  22.  
  23. mv file1 file2 file3 .... filen
  24.  
  25. (the *.tiff will presumably give no matches)
  26.  
  27. so you've just renamed all of your filse to the last one.  Kaboom.  Or, if mv
  28. were smart, it would complain that filen isn't a directory.  But I don't
  29. think mv is that smart (and I don't care to find out at this moment).
  30. ------
  31. Mike Matthews, matthews@oberon.umd.edu (NeXTmail accepted)
  32. ------
  33. Death is life's way of telling you you've been fired.
  34.         -- R. Geis
  35.  
  36.  
  37.  
  38.