Skip to content

Instantly share code, notes, and snippets.

@manzaloros
Created November 22, 2023 04:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save manzaloros/6f46a8187ea1a326d22a96dd0e0e5a37 to your computer and use it in GitHub Desktop.
Save manzaloros/6f46a8187ea1a326d22a96dd0e0e5a37 to your computer and use it in GitHub Desktop.
Convert .cue files in current directory to chd
#!/bin/bash
# Loop over all files in the current directory with a ".cue" extension
for file in *.cue; do
# Invoke chdman createcd with input and output options
chdman createcd -i "${file%.*}.cue" -o "${file%.*}.chd"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment