[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: renaming file to current date ?



yes exactly


--- Florian Kulzer <florian@molphys.leidenuniv.nl>
wrote:

> On Tue, Aug 29, 2006 at 09:24:26 -0700, S t i n g r
> a y wrote:
> > Well i want to know if its possible to rename a
> file
> > to the current date ?
> > like if i want to move todays date to the file
> name ?
> 
> Do you mean something like
> 
> mv somefile "othername-$(date +%Y%m%d%H%M%S)"
> 
> -- 
> Regards,
>           Florian
> 
> 
> -- 
> To UNSUBSCRIBE, email to
> debian-user-REQUEST@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact
> listmaster@lists.debian.org
> 
> 


*º¤., ¸¸,.¤º*¨¨¨*¤ Stingray *º¤., ¸¸,.¤º*¨¨*¤
              



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



Reply to: