Created
March 29, 2024 20:03
-
-
Save onpaws/8b1c0af0a70059ae0f22cdf2b228d1bb to your computer and use it in GitHub Desktop.
Convert bins, as in bin/cue files, into ISO
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/tclsh | |
if {[llength $argv]!=2} {exit 1} | |
set in [open [lindex $argv 0] rb] | |
set out [open [lindex $argv 1] wb] | |
while {1} { | |
read $in 16 | |
if {[eof $in]} {exit 0} | |
set user [read $in 2048] | |
puts -nonewline $out $user | |
read $in 288 | |
} | |
# via https://osxdaily.com/2018/08/05/how-convert-bin-cue-to-iso-mac/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment