
Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [tlug] Setting Date Variable for Cron Job
- Date: Mon, 17 Jun 2002 16:52:37 +0900
- From: shimpei@example.com
- Subject: Re: [tlug] Setting Date Variable for Cron Job
Charles Muller wrote:
> cp -f /home/chuck/.emacs
/home/chuck/Documents/programming/emacs-`date+"%Y%m%d"`.txt
>
> But it the "%Y%m%d" does not convert into a date.
It should work once you add a space between 'date' and '+"%Y%m%d"'.
Very few things look like a word separator to a Unix shell, and the
plus sign isn't one of them.
Shimpei.
PS Speaking of separators, please remember to use the "Enter" key
after each line next time.
Home |
Main Index |
Thread Index