Quantcast
Channel: CodeSection,代码区,Linux操作系统:Ubuntu_Centos_Debian - CodeSec
Viewing all articles
Browse latest Browse all 11063

Patool A Portable Command Line Archive File Manager

$
0
0

As you may know, there are literally multitude of archiving tools to manage dozens of archiving file formats. Each tool has its own commands and parameters. If your system has GUI installed, there won’t be a problem to manage archive files. Just right click the zip files and click extract or extract files. Likewise, right click on any folder or file and choose Compress to compress them. On the contrary, if you have a system with only CLI, you will have to memorize all commands and parameters for managing different archive format files. This can be little difficult and unnecessary too. Meet Patool , a portable command line archive file manager that supports almost all archive formats.

Download Free Guide: “How to Set Up Your Wireless and USB Printer in linux

The list of supported archive file formats are given below.

7z (.7z, .cb7), ACE (.ace, .cba), ADF (.adf), ALZIP (.alz), APE (.ape), AR (.a), ARC (.arc), ARJ (.arj), BZIP2 (.bz2), CAB (.cab), COMPRESS (.Z), CPIO (.cpio), DEB (.deb), DMS (.dms), FLAC (.flac), GZIP (.gz), ISO (.iso), LRZIP (.lrz), LZH (.lha, .lzh), LZIP (.lz), LZMA (.lzma), LZOP (.lzo), RPM (.rpm), RAR (.rar, .cbr), RZIP (.rz), SHN (.shn), TAR (.tar, .cbt), XZ (.xz), ZIP (.zip, .jar, .cbz) ZOO (.zoo) and many.

In a nutshell, we don’t need to install numerous archive managers. Patool is simply enough to do all sort of archiving stuffs.

Install Patool Command line Archive file manager

Patool can be installed easily using python-pip , a package manager for installing softwares written using Python.

Let us install python-pip first.

On Arch Linux and derivatives:

sudo pacman -S python-pip

On Debian, Ubuntu, Linux Mint:

sudo apt-get install python-pip

On RHEL, CentOS, Fedora:

sudo yum install python-pip

Or,

sudo dnf install python-pip

On SUSE/openSUSE:

sudo zypper in python-pip

Once pip installed, run the following command to install Patool archive manager.

sudo pip install patool Sample output: Collecting patool
Downloading patool-1.12-py2.py3-none-any.whl (77kB)
100% |%

Viewing all articles
Browse latest Browse all 11063

Trending Articles