Converting .bin/.cue to .iso with bchunk

From Brandonhutchinson.com

Revision as of 20:56, 11 October 2007 by Hutch (Talk | contribs)
(diff) ←Older revision | Current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search

You may use bchunk to convert a .bin/.cue to an .iso.

Examples:

  • Convert cd1.bin and cd1.cue to cd101.iso:
$ bchunk cd1.bin cd1.cue cd1
  • Convert cd[1-5].bin and cd[1-5].cue to cd0[1-5]01.iso:
$ ls -1
cd1.bin
cd1.cue
cd2.bin
cd2.cue
cd3.bin
cd3.cue
cd4.bin
cd4.cue
cd5.bin
cd5.cue

$ for FILE in cd*.bin ; do bchunk $FILE ${FILE%.*}.cue ${FILE%.*} ; done
(Note: bash extglob used below.)
$ rm cd[1-5].@(bin|cue)
$ ls -1
cd101.iso
cd201.iso
cd301.iso
cd401.iso
cd501.iso

Links

Personal tools