Generate disk file paths for mkisofs that fit on certain size discs.
Project description
gendisc
Generate disk file paths for mkisofs that fit on certain size discs.
Installation
Poetry
poetry add gendisc
Pip
pip install gendisc
Usage
Usage: gendisc [OPTIONS] PATH
Make a file listing filling up discs.
Options:
--cross-fs Allow crossing file systems.
-D, --drive FILE Drive path.
-d, --debug Enable debug logging.
-i, --starting-index INDEX Index to start with (defaults to 1). [x>=1]
-o, --output-dir DIRECTORY Output directory. Will be created if it does not
exist.
-p, --prefix TEXT Prefix for volume ID and files.
-r, --delete Unlink instead of sending to trash.
-h, --help Show this message and exit.
The output is a series of shell scripts that do the following:
- Generate the ISO image with
mkisofsfor the current set. - Save a SHA256 sum of the image for verification.
- Save a tree listing for later use (
treemust be installed). - Save a file listing via
findfor later use. - Requests to insert a blank disc.
- Uses
cdrecordto burn (currently set to burn at 4x speed). - Ejects and re-inserts the disc.
- Verifies the disc.
- Deletes the source files or sends them to the bin.
- Ejects the disc.
- Requests to move the disc to a label printer.
If you have mogrify (ImageMagick) installed, a label will be generated. This can be then opened in
a tool that can ask your printer (such as an Epson XP-7100) to print to disc (GIMP). In GIMP, be
sure to set the Width and Height to 12 cm in Image Settings in the print dialogue before
printing.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gendisc-0.0.1.tar.gz.
File metadata
- Download URL: gendisc-0.0.1.tar.gz
- Upload date:
- Size: 18.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.3 CPython/3.13.3 Linux/6.14.6-gentoo-limelight
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e7a9984aa44b4d215a5615e68cdd90116d45d1c63c55eac6da3666ae9d26a30e
|
|
| MD5 |
bd5a4c5330844b2a0da4e3148d961968
|
|
| BLAKE2b-256 |
3ff7d7ad3604411c0e03c52aef5536409c41db4a42612d9f37af4958437156d1
|
File details
Details for the file gendisc-0.0.1-py3-none-any.whl.
File metadata
- Download URL: gendisc-0.0.1-py3-none-any.whl
- Upload date:
- Size: 12.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.3 CPython/3.13.3 Linux/6.14.6-gentoo-limelight
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d2205d7bf8ac36c47220bcadd301c26045aaa03dee25c9fac6ad70dceacb2478
|
|
| MD5 |
d72dc5f733a6e10d62c4949f14f53c13
|
|
| BLAKE2b-256 |
3be9b6ec8ba41b443fcbae9bd213eb4d88c5734fa6e7fb8b28d50fdd17ec8f32
|