[Malvern] A bit of shell scripting
Andy Lowton
andy at dragonfly.demon.co.uk
Fri Dec 3 09:32:09 GMT 2004
On Thu, 2004-12-02 at 21:37 +0000, Chris Eilbeck wrote:
> On Thu, Dec 02, 2004 at 08:21:22PM -0000, Robin Wilson wrote:
> #!/bin/csh
>
> wget http://wherever/whatever.jpg
> mv -f whatever.jpg whatever-`date --iso-8601`.jpg
If you condense it into one line then you don't even need the script you
can just put the command straight into cron i.e
wget http://wherever/whatever.jpg -O whatever-`date --iso-8601`.jpg
l8z
andy
More information about the Malvern
mailing list