3 ms·
I always forget how to compress or extract tar, zip, 7z files on linux. I felt it should be simpler, so I hacked a python CLI together that gives me a single in
by DanielVZ 5y ago
I always forget how to compress or extract tar, zip, 7z files on linux. I felt it should be simpler, so I hacked a python CLI together that gives me a single interface for all compression/archival formats. You can extend it through it's configuration file and I'm adding new formats there as I need them.
- codefined 5y agoI found the exact same issue! Here's a .bashrc snippet you can steal to extract from a multitude of files. It doesn't quite have the number of features your library does and only supports extracting. [0] https://github.com/popey456963/bashrc/blob/gh-pages/bashrc.txt#L515-L537 https://github.com/popey456963/bashrc/blob/gh-pages/bashrc.t...
- DanielVZ 5y agoSomeone on reddit shared these bash scripts that do almost everything my tool does. https://www.reddit.com/r/commandline/comments/p5ibiz/i_keep_forgetting_how_to_extract_tar_or_7z/h965afb?utm_source=share&utm_medium=web2x&context=3 https://www.reddit.com/r/commandline/comments/p5ibiz/i_keep_...