Skip to content

Instantly share code, notes, and snippets.

@shantanoo
Created November 4, 2013 12:02
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 shantanoo/7301559 to your computer and use it in GitHub Desktop.
Save shantanoo/7301559 to your computer and use it in GitHub Desktop.
#!/usr/bin/env python
# mutagen currently supports python 2.x only
# Install using pip:
# pip install mutagen
from mutagen.mp3 import MP3
import sys
for fn in sys.argv[1:]:
try:
t = MP3(fn)
t.delete()
t.save()
except Exception as e:
print('Unable to remove ID3 tags from %s' % fn)
print('Error: %s' % e)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment