[MalaWiki] [TitleIndex] [WordIndex]

PowerBrowsingSlides/122 WgetOneliners02

Oneliners with wget - 02

if [ `date +"%w"` -lt 6 ] && \
   [ $((`date +"%w"` % 2)) = 1 ];
then wget http://www.goats.com/comix/`date \
   +"%y%m"`/goats`date +"%y%m%d"`.png;
else echo no goats today;
fi;

http://www.goats.com/comix/0404/goats040402.png


2014-06-11 14:17