|Description:||Decompresses and extracts archives|
|Requires:||zenity (Recommended: gzip xz-utils unzip bzip2 p7zip unrar sudo gksu mountiso)|
|License:||GNU GPL v3 * SEE DISCLAIMER *|
|Feedback:||comments – issues|
Designed for file manager integration, Xtract decompresses and extracts archives, and can also list archive contents. By default, an archive is extracted into a subfolder of the same name. Or, Xtract can prompt you for the destination or destination parent.
xtract --help Decompresses and extracts multiple archives. Designed for file manager integration. By default, archives are extracted into a subfolder of the same name, in each archive's parent folder. Requires: zenity (for gui functions) Recommended: gzip xz-utils unzip bzip2 p7zip unrar Recognized filetypes: .gz .bz2 .7z .xz .txz .tgz .zip .ZIP .rar .RAR .iso .ISO .tar .tar.gz .tar.xz .tar.bz2 .tar.7z Usage: xtract [OPTIONS] ARCHIVE ... OPTIONS: --ask show zenity gui prompt for destination parent and create auto-named subfolders (This is the default if the user has no write permission in archive parent folder) --combine use zenity gui prompt for destination folder and extract all archives to this one folder (overwrites existing files) --write | -w after extraction make ALL files in destination folder(s) user writable ( chmod -R u+rwX ) (ignored for user root) --list | -l instead of extracting, list archive contents --listfile | -f instead of extracting, list archive contents to a text file -a DIR extract to directory DIR using auto-named subfolders -c DIR | -C DIR extract all archives to combined directory DIR (overwrites existing files) -n no gui - do not use zenity for prompts, lists or errors NOTE: Pressing the Cancel button in the progress dialog does NOT cancel extraction.
Xtract can be associated with the following filetypes in your file manager or MIME database:
Alternatively, set Xtract as a custom user command in PCManFM-Mod
Follow the standard Script Installation Instructions. Alternatively, for Debian and Ubuntu a deb package and a PPA repository are available. On Arch Linux, xtract can be installed automatically using the AUR.
Before running xtract, install required packages using your package manager. For example, on Debian/Ubuntu:
apt-get install zenity
The following packages are also recommened with Xtract:
gzip xz-utils unzip bzip2 p7zip unrar sudo gksu
For mounting ISO files, Xtract will use gksu to prompt for the root password, or for password-less ISO mounts, installing mountiso is recommended.