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
tar eXtactZheVeckingFile
You don't need the v, it just means verbose and lists the extracted files.
You don't need the z, it auto detects the compression
That's still kinda new. It didn't always do that.
Per https://www.gnu.org/software/tar/, it's been the case since 2004, so for about 19 and a half years...
That's yet another great joke that GNU ruined.
.tar.xz
xz is quite slow though
tar c file | pxz > file.tar.xz
pixz is in "extra" repo in arch. Same as pigz.
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.
cool people use zst
Right, I usually do that or lz4.
Where .7z at
.7z gang, represent
Small ~~dick~~ package kings/queens rise up.
On windows.
7z is available for Linux as well (CLI only)
It is open-source too.
I know, but I’d say ppl on Linux tend to not use it.
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.
gonna start lovingly referring to good software tools as “little fuckers”
Happy cake day!
Me removing the plastic case of a 2.5' sata ssd to make it physically smaller
That's a big drive.
how about .tar.zip
or .tar.rar
?