Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Mar 2000 08:07:15 +0200 (EET)
From:      a <andrew@soc.lg.gov.ua>
To:        courtney@whtz.com
Cc:        mark@dogma.freebsd-uk.eu.org, questions@FreeBSD.ORG
Subject:   Re: using date for file names
Message-ID:  <Pine.BSF.3.96.1000307080608.1408A-100000@soc.lg.gov.ua>
In-Reply-To: <85256899.0062DDEE.00@mail.whtz.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.1000307080608.1408A-100000>