Skip to content

Instantly share code, notes, and snippets.

@aplsms
Forked from vinsentru/split_batch_flack.sh
Created April 2, 2018 23:08
Show Gist options
  • Select an option

  • Save aplsms/feccdbc53b231931c1ad5fa75ead690f to your computer and use it in GitHub Desktop.

Select an option

Save aplsms/feccdbc53b231931c1ad5fa75ead690f 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