Skip to content

Instantly share code, notes, and snippets.

View Cheatha's full-sized avatar

Florian 'Cheatha' Köhler Cheatha

View GitHub Profile
#!/bin/bash
cd_path="/dev/sr0"
out_path="/media/isos/iso"
mkdir -p $out_path
cd_id="$(date +%s | sha256sum | head -c 8 ; echo)"
cd_id="${cd_id^^}"
bs=$(isoinfo -d -i ${cd_path} | grep -i -E 'block size'|awk '{print $NF}' )

Keybase proof

I hereby claim:

  • I am cheatha on github.
  • I am cheatha (https://keybase.io/cheatha) on keybase.
  • I have a public key whose fingerprint is 2638 4E97 9269 CE44 E9CD F921 10D7 D831 CD7E 3A3F

To claim this, I am signing this object: