🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.misc
Article #3349

Re: adding file suffix

#3349
From: Mike Matthews
Date: Thu, 12 Nov 1992 02:24
23 lines
1261 bytes
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
Technical Details
Message-ID: <16938@umd5.umd.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!ames!haven.umd.edu!umd5!oberon.umd.edu!matthews
References: <721285254.AA00000@blkcat.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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