Skip to content

Instantly share code, notes, and snippets.

@vinsentru
Created April 2, 2018 18:53
Show Gist options
  • Save vinsentru/d79ac1de548dfda9c64dee77f48c8088 to your computer and use it in GitHub Desktop.
Save vinsentru/d79ac1de548dfda9c64dee77f48c8088 to your computer and use it in GitHub Desktop.
Split a deep folders structure (like discography) containing *.cue and *.flack
find . -type f -iname "*.cue" | while read dir; do dirname=$(dirname "$dir"); echo $dirname; pushd "$dirname"; split2flac -cue *.cue *.flac; popd; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment