These bash scripts are for copying an ISO with md5 checking and log writing from a block device, only requiring linux coreutils.
$ git clone git@github.com/Meowsod/cpiso.git
$ cd cpiso
$ sudo mkdir -p /usr/local/bin/
$ chmod +x src/*
$ sudo ln -s "$(pwd)/src/"* /usr/local/bin/
The cpiso
script is a frontend using and writing logs of cpiso_base
and ejecting the drive.
cpiso_check
is for checking the quality of an existing log file.
$ cpiso /dev/sr0 output/path
or
$ export DRIVE="/dev/sr0"; export DIRECTORY="output/path"
$ cpiso
$ cpiso_base /dev/sr0
$ cpiso_check LABEL
Adding sha256 checks to the logs could be easily implemented.