https://github.com/hydrian/mkiso_secure
Make a verifed copy of an optical disk
https://github.com/hydrian/mkiso_secure
Last synced: about 2 months ago
JSON representation
Make a verifed copy of an optical disk
- Host: GitHub
- URL: https://github.com/hydrian/mkiso_secure
- Owner: hydrian
- License: gpl-2.0
- Created: 2022-01-25T15:20:24.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-01-26T19:25:46.000Z (over 4 years ago)
- Last Synced: 2025-12-27T05:56:47.056Z (6 months ago)
- Language: Shell
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mkiso_secure
Makes a verified ISO image of an optical disk
This is an optical drive ISO ripping script that prioritizes accuracy over performance. This means, the optical drive is run at its slowest possible read speed to minimize read errors. This is important for discs that have visual imperfection on the media. mkiso_secure.sh also reads the media three times. This is to get a reliable checksum to compare against after the ISO file is ripped.
The script also does common detections for types of media format type that ISOs are not suited like multi-session discs.
## Installation
Install required executable dependencies. Package names may vary from distribution to distribution.
* cdrdao
* xorriso
* md5sum
* isoinfo
1. Download the mkiso_secure.sh file.
1. Place the mkiso_secure.sh file in one of your directories that is in your $PATH. (i.e. /usr/local/bin)
1. Give the script executable permissions
- `chmod +x mkiso_secure.sh`
## Configuration
System level configuration file is located in `/etc/mkiso_secure.conf`.
User level configuration file is located in `${HOME}/.local/mkiso_secure.conf`. Since this configuration is often machine specific, the config goes here.
### Valid Directives
Format is in the form of shell variables.
i.e. DRIVE=/dev/cdrom
**DRIVE**
DRIVE (string) is the device file for your optical driver. This defaults to `/dev/cdrom` if it not set.
**EJECT_WHEN_DONE**
EJECT_WHEN_DONE (true/false) Opens the optical drive when done. Defaults to false.
## Usage
`mkiso_secure.sh OUTPUT_ISO_FILE`