925
you are viewing a single comment's thread
view the rest of the comments
[-] qjkxbmwvz@startrek.website 38 points 4 weeks ago

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 4 weeks ago

Something like wget avc.com | tar xvf ?

[-] user224@lemmy.sdf.org 14 points 3 weeks ago

Almost, I think.

wget -O - http://example.com/archive.tar | tar -xvf -
[-] Midnight1938@reddthat.com 4 points 3 weeks ago

Didnt think this would ever work

[-] uis@lemm.ee 7 points 3 weeks ago

This is what we call UNIX-way

[-] user224@lemmy.sdf.org 4 points 3 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.

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

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

linuxmemes

19717 readers
331 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