Skip to content

Instantly share code, notes, and snippets.

@t0mmyt
Last active August 29, 2015 14:14
Show Gist options
  • Save t0mmyt/0c30003401942169580a to your computer and use it in GitHub Desktop.
Save t0mmyt/0c30003401942169580a to your computer and use it in GitHub Desktop.
Find the wavs that didn't get converted to mp3
find . -name \*.wav | while read line ; do bn=$(basename "$line") ; mp3=${bn%.*}.mp3 ; if [[ ! -f mp3/$mp3 ]] ; then echo $line ; fi ; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment