Tuesday, September 8, 2009

wget optimization

Many a time we want to download something and do something ie unzip untar etc. generally we are not interested in the original download.

wget -q -O - <URL> | <do whatever is necessary>

ie untarring example
wget -q -O - "http://localhost/docs/somedoc.tar.gz" | tar xzf -



No comments:

VIM issues with powerline

What to do if you get this annoying issue - vi requirements.txt ...