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

Re: renaming file to current date ?



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



Reply to: