Oblig. XKCD:
linuxmemes
I use Arch btw
Sister communities:
- LemmyMemes: Memes
- LemmyShitpost: Anything and everything goes.
- RISA: Star Trek memes and shitposts
Community rules
- Follow the site-wide rules and code of conduct
- Be civil
- Post Linux-related content
- No recent reposts
Please report posts and comments that break these rules!
tar -h
Edit: wtf... It's actually tar -?
. I'm so disappointed
boom
That's yet another great joke that GNU ruined.
.tar.xz
xz is quite slow though
tar c file | pxz > file.tar.xz
Same algo as in 7z
Yeah, it's similar enough to tar.gz to always confuse me.
wait until you learn about .tar.lz
Good for image backups, after zeroing empty space.
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.
Something like wget avc.com | tar xvf
?
Almost, I think.
wget -O - http://example.com/archive.tar | tar -xvf -
Didnt think this would ever work
TAr stands for Tape Archive. Tapes store data sequentially. Downloads are done sequentially.
It's really just like a far away tape drive.
Where .7z at
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
What weird Japanese zip files are you handling?
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.