you will want ` around the date part i think

On Mon, Dec 11, 2000 at 06:27:39PM +1100, Terry Collins wrote:
> I want to use cron to periodically copy a file "webcam3.jpeg" to a
> filename based on the current day and time, but I'm unable to workout
> how to do this as a bash shell command.
> It will be something like
> 
> cp webcam3.jpeg  sproutcam + date '+%m%d%H%M' + .jpeg


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug

Reply via email to