Date: Fri, 9 May 1997 16:06:56 -0400 (EDT) From: Shaun Finn <sfinn@thecore.com> To: "Julian S. Hing" <blades1@ix.netcom.com> Cc: questions@FreeBSD.ORG, RGireyev@bellind.com Subject: Re: Gotta Date? Message-ID: <Pine.NEB.3.95.970509160450.20937A-100000@guardian.thecore.com> In-Reply-To: <199705091942.AA29428@interlock.amlawcorp.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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/ ----------------------+
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.95.970509160450.20937A-100000>