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

script to download latest firefox nightly build




script to download latest firefox nightly build and extract to mydir

wget http://nightly.mozilla.org/ -q -O - |awk '/en-US.linux-i686/ {gsub(/href="/,"",$2)+gsub(/">/,"",$2);print $2}' | while read a 
do   
   wget -c "$a" -q -O /tmp/firefox-nightly-en-US.linux-i686.tar.bz2  && cd mydir && tar -xvjf /tmp/firefox-nightly-en-US.linux-i686.tar.bz2 
done 

Followers


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