this post was submitted on 06 Jun 2024
5 points (100.0% liked)

linuxmemes

19849 readers
394 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
top 21 comments
sorted by: hot top controversial new old
[–] oleorun@real.lemmy.fan 2 points 1 month ago* (last edited 1 month ago) (2 children)
[–] SpeakinTelnet@sh.itjust.works 3 points 1 month ago* (last edited 1 month ago) (1 children)

tar -h

Edit: wtf... It's actually tar -?. I'm so disappointed

[–] marcos@lemmy.world -1 points 1 month ago

That's yet another great joke that GNU ruined.

[–] MonkderDritte@feddit.de 1 points 1 month ago (2 children)
[–] stoy@lemmy.zip 0 points 1 month ago (2 children)
[–] pelya@lemmy.world 1 points 1 month ago

tar c file | pxz > file.tar.xz

[–] uis@lemm.ee -1 points 1 month ago

Same algo as in 7z

[–] bjoern_tantau@swg-empire.de 0 points 1 month ago (1 children)

Yeah, it's similar enough to tar.gz to always confuse me.

[–] palordrolap@kbin.run 1 points 1 month ago (1 children)

wait until you learn about .tar.lz

[–] MonkderDritte@feddit.de 1 points 1 month ago

Good for image backups, after zeroing empty space.

[–] qjkxbmwvz@startrek.website 1 points 1 month 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 0 points 1 month ago (1 children)

Something like wget avc.com | tar xvf ?

[–] user224@lemmy.sdf.org 1 points 1 month ago (1 children)

Almost, I think.

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

Didnt think this would ever work

[–] user224@lemmy.sdf.org 1 points 1 month ago

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

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

[–] EddyBot@discuss.tchncs.de 1 points 1 month ago
[–] pineapplelover@lemm.ee 1 points 1 month ago

Where .7z at

[–] renzev@lemmy.world 0 points 1 month ago (1 children)

Obligatory shilling for unar, I love that little fucker so much

  • Single command to handle uncompressing nearly all formats.
  • No obscure flags to remember, just unar <yourfile>
  • Makes sure output is always contained in a directory
  • Correctly handles weird japanese zip files with SHIFT-JIS filename encoding, even when standard unzip doesn't
[–] sh__@lemmy.world 0 points 1 month ago (1 children)

What weird Japanese zip files are you handling?

[–] renzev@lemmy.world 1 points 1 month ago* (last edited 1 month ago)

Voicebanks for Utau (free (as in beer, iirc) clone of Vocaloid) are primarily distributed as SHIFT-JIS encoded zips. For example, try downloading Yufu Sekka's voicebank: http://sekkayufu.web.fc2.com/ . If I try to unzip the "full set" zip, it produces a folder called РсЙ╠ГЖГtТPУ╞Й╣ГtГЛГZГbГgБi111025Бj. But unar detects the encoding and properly extracts it as 雪歌ユフ単独音フルセット(111025). I'm sure there's some flag you can pass to unzip to specify the encoding, but I like having unar handle it for me automatically.