A few things, mostly technical notes...

Saturday, June 23, 2012

script to download latest firefox aurora

script to download latest firefox aurora and extract to mydir
wget -q "https://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-mozilla-aurora/?C=M;O=A" -O - | awk '/en-US.linux-i686.tar.bz2">/ {gsub(/href="/,"",$6)+gsub(/">.*/,"",$6); print "https://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-mozilla-aurora/"$6}' | while read a 
do  
 wget -c "$a" -q -O /tmp/firefox-aurora-en-US.linux-i686.tar.bz2 && cd mydir  && tar -xvjf /tmp/firefox-aurora-en-US.linux-i686.tar.bz2 
done

No comments:

Followers


Creative Commons License
This work is licensed under a Creative Commons License.