Skip to main content

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

-c, --repair-only

Do only a check and repair operation

-r, --recursive

Find archives recursively

-k, --keep

Do not delete archives on success

-x, --no-index

Do not index the extracted files

Simply run easy_extract in the directory where the collections are:

$ easy_extract

To find archives recursively 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...>]

Metadata

Release files for easy-extract 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for easy-extract 0.1.2
File Size Uploaded
easy-extract-0.1.2.tar.gz 6.8 kB Details

Release files / easy-extract-0.1.2.tar.gz

Download URL easy-extract-0.1.2.tar.gz
Size 6.8 kB
Tags Source
SHA-256 checksum
How to use checksums
6e3482fa2ed30fbc47813f313255b39d30100f82073f099da89c7deb5b655317
BLAKE2b-256 checksum
How to use checksums
27f302671eea32541336eaf371b00531cbb73db3c7362645fc713be41cdbdd4e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.2 This release

1 release file

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page