Skip to content

Instantly share code, notes, and snippets.

@nii236
Last active July 21, 2017 16:00
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 nii236/46b6457593deea8cb435c38164796f00 to your computer and use it in GitHub Desktop.
Save nii236/46b6457593deea8cb435c38164796f00 to your computer and use it in GitHub Desktop.
useFilenameAsTitle.sh
find . -print0 -type f -name '*.mp3' | xargs -0 -I {} mid3v2 -v -t `basename -s .mp3 {}` {}
# OR
for f in *.mp3; do basename -s .mp3 $f | xargs -0 -I {} mid3v2 -t "{}" "{}"; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment