From owner-freebsd-questions Mon Mar 6 23:27:36 2000 Delivered-To: freebsd-questions@freebsd.org Received: from lumsi.lugansk.ua (lumsi.lugansk.ua [62.244.34.14]) by hub.freebsd.org (Postfix) with ESMTP id 388E137BAD1 for ; Mon, 6 Mar 2000 23:27:27 -0800 (PST) (envelope-from andrew@soc.lg.gov.ua) Received: (from uusoc@localhost) by lumsi.lugansk.ua (8.8.8/8.8.8) with UUCP id JAA03744; Tue, 7 Mar 2000 09:05:47 +0200 X-Authentication-Warning: lumsi.lugansk.ua: uusoc set sender to andrew@soc.lg.gov.ua using -f Received: from localhost (andrew@localhost) by soc.lg.gov.ua (8.9.3/8.9.3) with SMTP id IAA01467; Tue, 7 Mar 2000 08:07:15 +0200 (EET) (envelope-from andrew@soc.lg.gov.ua) Date: Tue, 7 Mar 2000 08:07:15 +0200 (EET) From: a To: courtney@whtz.com Cc: mark@dogma.freebsd-uk.eu.org, questions@FreeBSD.ORG Subject: Re: using date for file names In-Reply-To: <85256899.0062DDEE.00@mail.whtz.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG try this: mv original.txt "`date +%d%m%y`.doc" On Sun, 5 Mar 2000 courtney@whtz.com wrote: > > > when I do mv original.txt `date +%m%d%y`.doc i get a file that is named > "date +%d%m%y.doc" > > any ideas?? > > Bern > > > % mv original.txt `date +%d%m%y`.doc > > > > ...or, > > % mv original.txt `date +%m%d%y`.doc > > in your case ;-) > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message