From owner-freebsd-questions Fri May 9 15:03:57 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id PAA01268 for questions-outgoing; Fri, 9 May 1997 15:03:57 -0700 (PDT) Received: from bellind.com ([206.101.34.2]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id PAA01263 for ; Fri, 9 May 1997 15:03:54 -0700 (PDT) From: RGireyev@bellind.com Received: by firewall.bellind.com id <17036-2>; Fri, 9 May 1997 15:06:01 -0700 Message-Id: <97May9.150601pdt.17036-2@firewall.bellind.com> To: Cc: , Subject: RE: Gotta Date? Date: Fri, 9 May 1997 15:08:30 -0700 X-Mailer: Microsoft Exchange Server Internet Mail Connector Version 4.0.837.3 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk This is the second time the wrong ticks got me. I feel so dense. I kept trying the other two and it never occured to me to try the right one (for the second time now). I need a new brain, the one that actually retains information. Thanks a bunch to everyone, beavis can now be preserved in history :-). Rudy >---------- >From: Shaun Finn[SMTP:sfinn@thecore.com] >Sent: Friday, May 09, 1997 1:06 PM >To: Julian S. Hing >Cc: Rudy Gireyev; questions@FreeBSD.ORG >Subject: Re: Gotta Date? > > >I think he was looking for something like this: > >mv file file.`date '+%m%d%Y'` > >works just fine in the tcsh > > >On Fri, 9 May 1997, Julian S. Hing wrote: >> For most shells, this should work. >> "mv file file.new" >> -Julian Hing >> Blades1@ix.netcom.com B^} >> ---- >> From: RGireyev@bellind.com >> To: questions@FreeBSD.ORG >> Date: Friday, May 09, 1997 3:32 PM >> Subject: Gotta Date? >> >> >Hi! >> > >> >I am trying to rename a file by appending a curent >> >name to the end of it. For example if I have a file >> >called beavis I want to rename it to beavis.05091997 >> > >> >Any ideas???? >> > >> >Thanks >> > >> >P.S. Lemme know which shell your suggestion is for >> > >> > >> > >> > >> > >> >-------------------------------------------------- >> >Beavis and Butt-head Software Co Inc | Fone 1-800-555-CHICKs >> >"Just press any key, dude!!!!" | Phaks 1-800-555-BUTT >> >-------------------------------------------------- >> > >> >> > >+------------------------------------------------------------------+ >| Shaun M. Finn TechnoCore Communications, Inc. | >| sfinn@thecore.com P.O. Box 106 | >| (908)928-7400 FAX:(908)928-7402 Jackson, NJ 08527-0106 | >+------------------- http://www.thecore.com/ ----------------------+ > >