Skip to main content

Easy extraction of archives collections

Project description

Easy-extract try to be a simple and universal multipart unarchiver, it is designed to extract and repair collections of many archives format (rar, zip, xtm) in one command line.

Very usefull when you grab on Usenet and you have many archives in differents directory.

Installation

Before you start using easy-extract, you must install these softwares :

  • unrar-free

  • 7zip-full

  • par2

Then use easy_install

$> easy_install easy-extract

Usage

Usage: easy_extract [options] [directory]…

Options:
--version

show program’s version number and exit

-h, --help

show this help message and exit

-f, --force

Do not prompt confirmation message

-n, --not-repair

Do not try to repair archives on errors

-r, --recursive

Find archives recursively

Simply run easy_extract in the directory where the collections are.

$> easy_extract

or for finding archives recursivly in a directory.

$> easy_extract -r my_archives/

All the archives found will be prompted, then confirm the extraction. Go make a coffee, the script will do the rest ! Easy_extract will handle the repair if the archives are corrupted.

Code

If you want to reuse the code to find archives you can do something like that :

>>> from easy_extract.archive_finder import ArchiveFinder
>>> from easy_extract.archives.rar import RarArchive
>>>
>>> archive_finder = ArchiveFinder('./my_path/', recursive=True, archive_classes=[RarArchive,])
>>> archive_finder.archives
... [<easy_extract.archives.rar.RarArchive object at 0x...>, <easy_extract.archives.rar.RarArchive object at 0x...>]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

easy-extract-0.1.1.tar.gz (10.2 kB view details)

Uploaded Source

Built Distribution

easy_extract-0.1.1-py2.6.egg (14.2 kB view details)

Uploaded Source

File details

Details for the file easy-extract-0.1.1.tar.gz.

File metadata

File hashes

Hashes for easy-extract-0.1.1.tar.gz
Algorithm Hash digest
SHA256 a125f66566c96103a35abc39cc0985e82e55cb6133b0f54c1271e2a0f7e9b0a5
MD5 7efeaea5a270eee3476f8a78b8058be6
BLAKE2b-256 3d41b90c6c37e8fe40a71455f77756f82f0d36ec2e9dac7c977eb7fd84474157

See more details on using hashes here.

File details

Details for the file easy_extract-0.1.1-py2.6.egg.

File metadata

File hashes

Hashes for easy_extract-0.1.1-py2.6.egg
Algorithm Hash digest
SHA256 eb81478da68be009444ca6f1f1382977bb1040f49e61938f19d6610e77843a1e
MD5 68735458997b90b5addd85c9919eaa46
BLAKE2b-256 c76c68b7cae593637c42c64e56abe57d4b9ad10a1c4aacaeb7619798cc2f4479

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page