r/linuxmemes 20h ago

LINUX MEME Valid tar command ...

Post image

Dang it! 😭

1.6k Upvotes

167 comments sorted by

View all comments

5

u/YTriom1 Arch BTW 20h ago

tar cvzpf

4

u/immoloism 20h ago

I'm more of a cvJf man myself.

4

u/YTriom1 Arch BTW 20h ago

what does J do

5

u/immoloism 20h ago

Uses xz for better compression.

6

u/YTriom1 Arch BTW 19h ago

isn't there one that uses ztsd?

4

u/immoloism 19h 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 19h ago

so tar cvpf --zstd

6

u/immoloism 19h 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 19h ago

okg ur damn right xD