extrac

decompression files


License
MIT
Install
pip install extrac==0.6.0

Documentation

extrac

One magic word to unpack archive.一个命令解压所有压缩文件

Support rar, zip, tar.gz, gz, Z, tar.Z, bz2, tar.bz2, bz, tar.bz archives for now.

目前支持rar, zip, tar.gz, gz, Z, tar.Z, bz2, tar.bz2, bz, tar.bz后缀的压缩文件。

USAGE

Not have python

  1. Download release file at release page

  2. Then move the release file into /usr/local/bin/, now you can use in the command line as extrac

  3. also i suggest you to set a alias, my real wish is a world x could unpack all archives, i'm working on it. so the alias could be like alias x="extrac", append it in your ~/.bashrc or ~/.zshrc for one user, also you can apped it into /etc/profile, for all user. Then run source ~/.bashrc, source ~/.zshrc for one user, or source /etc/profile for all users.

in python way

if you got python on your device, you can use pip3 install extrac to install this tool, and use it in command line directly by x FILE

用法

没有python

  1. 下载页面下载release文件extrac

  2. 将文件移动到/usr/local/bin目录下,现在你可以用extrac命令来解压文件。

  3. 你也可以设置一个别名,将来的python包版本,会直接设定为别名x,可以在~/.bashrc~/.zshrc里面追加一句alias x="extrac"对单个用户生效,或者追加到/etc/profile对所有用户生效,运行source ~/.bashrcsource ~/.zshrcsource /etc/profile来立即生效。

使用python

如果你设备上有python,可以直接通过pip3 install extrac来安装这个工具,然后在命令行使用x FILE命令来解压文件。

TO BE CONTINUE

未完待续