this post was submitted on 06 Jun 2024
931 points (99.1% liked)

linuxmemes

20798 readers
468 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
[–] qjkxbmwvz@startrek.website 38 points 3 months 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.

[–] Midnight1938@reddthat.com 8 points 3 months ago (1 children)

Something like wget avc.com | tar xvf ?

[–] user224@lemmy.sdf.org 14 points 3 months ago (2 children)

Almost, I think.

wget -O - http://example.com/archive.tar | tar -xvf -
[–] Midnight1938@reddthat.com 4 points 3 months ago (2 children)

Didnt think this would ever work

[–] uis@lemm.ee 7 points 3 months ago

This is what we call UNIX-way

[–] user224@lemmy.sdf.org 4 points 3 months ago

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

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

[–] qjkxbmwvz@startrek.website 2 points 3 months 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).