80
submitted 3 weeks ago* (last edited 3 weeks ago) by myxi@toast.ooo to c/programming@programming.dev

I like trying out new things quite frequently and often times these tools are packed in an archive file. But I'm in constant fear whenever I am to unpack those archives because sometimes there are hundreds of files and the person who packed them wouldn't even do the bare minimum of nesting them inside a directory.

Dolphin (file explorer) had a useful thing where it would detect whether the contents are already nested and if they are not only then it would nest them inside a directory. I tried searching for something similar for the CLI but couldn't find anything so here it is. Another benefit is that it supports .zip, .tar.xz, .tar.gz simultaneously so I don't need to deal with manpages of unzip, tar thousand times just because I keep forgetting how to use them. Now it's just vert x file.zip.

I can add support for a few more formats but I don't feel the need at least for now (PRs welcome).

you are viewing a single comment's thread
view the rest of the comments
[-] Deebster@infosec.pub 4 points 3 weeks ago

There's enough words there - I read it as "when this widely-used client added feature x"...

[-] Albbi@lemmy.ca 1 points 3 weeks ago

Ah you're right. I was expecting the word update or something after client.

[-] Deebster@infosec.pub 2 points 3 weeks ago

It's definitely a bit of a confusing garden-path sentence.

this post was submitted on 01 Dec 2024
80 points (94.4% liked)

Programming

17672 readers
36 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 2 years ago
MODERATORS