mardi 24 mars 2015

tar a result of wget


I want to wget a file and tar it, in one command, I guess it is simple but I can't get it done. I tried several things.



wget <url> | tar -cvz file.gz.tar -

tar -cvzf file.tar `wget <url>`

wget -qO <url> | tar -cvf file.tar

wget <url> -O - | tar


Any help?



Aucun commentaire:

Enregistrer un commentaire