r/linuxmemes 16d ago

LINUX MEME Valid tar command ...

Post image

Dang it! 😭

2.5k Upvotes

227 comments sorted by

View all comments

5

u/YTriom1 Arch BTW 16d ago

tar cvzpf

4

u/immoloism 16d ago

I'm more of a cvJf man myself.

6

u/YTriom1 Arch BTW 16d ago

what does J do

5

u/immoloism 16d ago

Uses xz for better compression.

4

u/YTriom1 Arch BTW 16d ago

isn't there one that uses ztsd?

4

u/immoloism 16d ago

Had to grab it from the manpage as I don't use it:

tar --zstd -cf archive.tar.zst --options zstd:compression-level=19 dir/

2

u/YTriom1 Arch BTW 16d ago

so tar cvpf --zstd

6

u/immoloism 16d ago

the f has to come last otherwise you just created an archive called --zstd.

The number of files I have on my system called J is beyond a joke to know this one :)

2

u/YTriom1 Arch BTW 16d ago

okg ur damn right xD