Skip to main content

Limiting the size of tar archives

Project description

LimitTar

This application/library is for limiting the size of a tar archive for spanning data directly across multiple Blu-Ray/DVD discs, flash drives or as files on online storage with file size limits. It tries to fit as many files as possible into a tar archive without creating partial files. This means each tar archive can be restored independently without joining.

This application was mainly developed to be used with aes-pipe for space efficient data encryption using pipes to remove the need for temporarily storing the potentially large archives and encrypted data.

Requirements

  • Python 3.4+

Installation

From the Python Package Index:

pip install limittar

Or download and run:

python3 setup.py install

Command-Line Usage

Use the -h argument for help:

limittar -h

Spanning files in tar archives across multiple USB storage devices

find /path/photos/ -print0 > files

limittar -0 -i files -l remaining1 -s 16g > /dev/sdX
limittar -0 -i remaining1 -l remaining2 -s 20g > /dev/sdX
cat remaining2 | limittar -0 -l remaining3 -s 16g > /dev/sdX
...

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

limittar-1.0.4.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

limittar-1.0.4-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file limittar-1.0.4.tar.gz.

File metadata

  • Download URL: limittar-1.0.4.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.6

File hashes

Hashes for limittar-1.0.4.tar.gz
Algorithm Hash digest
SHA256 749b76e8ccda9c5d1ea7138a3a857f6f66a607c755e48ae2e08c5e6614b03167
MD5 ef6c383d96ae488b7acd0d2d35fe1e02
BLAKE2b-256 5914c8355195b1b4de24c52d10b9025bd79c1b69aa82ef0298fd71e133e9e1f8

See more details on using hashes here.

File details

Details for the file limittar-1.0.4-py3-none-any.whl.

File metadata

  • Download URL: limittar-1.0.4-py3-none-any.whl
  • Upload date:
  • Size: 6.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.6

File hashes

Hashes for limittar-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 e7c6311551e67a49610c0f74d63100efb78d6b8077128be56f9502cc08016cff
MD5 bb2282968f8889055f75ab939275a10b
BLAKE2b-256 db0a6c19e6428d42528e655bc5c820e9a017a949fb2a8a588f13066f23edf14c

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