this post was submitted on 18 Jul 2023
47 points (94.3% liked)

linuxmemes

20880 readers
7 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
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 7 points 1 year ago* (last edited 1 year ago) (4 children)

tar -xzvf file.tar.gz

I remember the flags with a very silly mnemonic.

extract zee veryimportant files

[–] [email protected] 6 points 1 year ago

extract zee vital files

:)

[–] [email protected] 4 points 1 year ago* (last edited 1 year ago)

eXtract Zee Vucking Files

Also works for the reverse:

Compress Zee Vucking Files

(Swap Zee for All if you want it to auto detect compression)

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago)

Is there a difference between using -xzvf and -xf? I always just chose the shortest one, I hope it doesn't matter much, my muscle memory is already too high

[–] drew_belloc 0 points 1 year ago

I just created a python script so i can use [openarch {file extension} {file}]