January 14, 2012

Wget

:: for Windows
:: use current date for filename
wget -O %date%.atom --no-check-certificate https://gist.github.com/svnpenn.atom

:: honor the content-disposition header when choosing filename
wget --content-disposition --user-agent Mozilla/5.0 forum.aircrack-n
g.org/index.php?action=dlattach;topic=11633.0;id=802

Links

askapache.com/dreamhost/wget-header-trick.html
osdir.com/ml/bug-wget-gnu/2009-05/msg00008.html

1 comment: