https://github.com/yugr/pkupk
Easy-to-use cmdline wrapper for various archivers (.tar*, .zip, .deb, .rpm, etc.).
https://github.com/yugr/pkupk
archives portable shell-wrappers
Last synced: 2 months ago
JSON representation
Easy-to-use cmdline wrapper for various archivers (.tar*, .zip, .deb, .rpm, etc.).
- Host: GitHub
- URL: https://github.com/yugr/pkupk
- Owner: yugr
- License: mit
- Created: 2015-12-10T20:25:24.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2021-11-13T19:05:17.000Z (over 3 years ago)
- Last Synced: 2025-03-25T09:52:59.884Z (3 months ago)
- Topics: archives, portable, shell-wrappers
- Language: Shell
- Homepage:
- Size: 28.3 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
Pk/upk grew out of inconvenience of working with existing zoo of archivers
that have widely varying cmdline interfaces and different conventions.Pk/upk provide a simple common interface to all .tar\*, .zip, .7z, winmail.dat,
.deb, .rpm, .apk, etc.To put all text files to my.tar.gz (under folder my/):
```
$ pk my.tar.gz *.txt
```
To put directory `dir` into `dir.tgz` just do
```
$ pk dir.tgz
```To extract files from my.tar.gz to folder my/ (optionally creating it
if it's missing in .tar.gz):
```
$ upk my.tar.gz
$ ls my/
```TODO:
* support more popular formats (e.g. from http://en.wikipedia.org/wiki/List_of_archive_formats)
* options (e.g. override destination dir, force unnesting, -h, options for archiver, etc.)
* support .gz files (?)
* shell autocompletions