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

Re: [cobalt-developers] integrate the date in a filename?



"[Can-Host Networks] Félix C.Courtemanche" wrote:

> Now, my question is:
> how would I "integrate" the date automatically in a filename?
> 
> I already have the date format that I want: "date +%Y.%m.%d"
> I would like the result to be something like:
> file.[date].tar


file.`date +%Y.%m.%d`.tar

note those are backticks (below ~) not single-quotes

-- 
Tim Hockin
Software Engineer / OS Engineer
Cobalt Networks
thockin@xxxxxxxxxx