Code

Changes between Version 1 and Version 2 of CookBookScriptsDjget


Ignore:
Timestamp:
02/01/10 22:30:46 (4 years ago)
Author:
danny_adair
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • CookBookScriptsDjget

    v1 v2  
    2424fi 
    2525}}} 
     26 
     27Comment: 
     28You could just use wget's "-O" parameter to specify the output file directly, the script could be a one-liner 
     29{{{ 
     30wget -O `basename $1` "$1?format=txt" 
     31}}}