this post was submitted on 06 Jun 2024
923 points (99.0% liked)

linuxmemes

19653 readers
2052 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 38 points 3 weeks ago (1 children)

When I'm feeling cool and downloading a *.tar* file, I'll wget 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.

[–] [email protected] 8 points 3 weeks ago (1 children)

Something like wget avc.com | tar xvf ?

[–] [email protected] 14 points 3 weeks ago (2 children)

Almost, I think.

wget -O - http://example.com/archive.tar | tar -xvf -
[–] [email protected] 4 points 3 weeks ago (2 children)

Didnt think this would ever work

[–] [email protected] 7 points 3 weeks ago

This is what we call UNIX-way

[–] [email protected] 4 points 2 weeks ago

TAr stands for Tape Archive. Tapes store data sequentially. Downloads are done sequentially.

It's really just like a far away tape drive.

[–] [email protected] 2 points 2 weeks ago

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).