You're viewing a single thread.
View all comments
195
comments
When I'm feeling cool and downloading a
*.tar*
file, I'llwget
to stdout, and tar from stdin. Archive gets extracted on the fly.I have (successfully!) written an
.iso
to CD this way, too (pipe wget to cdrecord). Fun stuff.39 1 ReplySomething like
wget avc.com | tar xvf
?8 0 ReplyAlmost, I think.
wget -O - http://example.com/archive.tar | tar -xvf -
15 0 ReplyDidnt think this would ever work
5 1 ReplyThis is what we call UNIX-way
7 0 ReplyTAr stands for Tape Archive. Tapes store data sequentially. Downloads are done sequentially.
It's really just like a far away tape drive.
4 0 Reply
I usually suppress output of either wget (-q) or of tar (no v flag), otherwise I think the output gets mangled and looks funny (you see both download progress and files being extracted).
2 0 Reply
You've viewed 195 comments.
Scroll to top