Skip to content

Instantly share code, notes, and snippets.

@dublado
Created December 14, 2011 19:54
Show Gist options
  • Select an option

  • Save dublado/1478194 to your computer and use it in GitHub Desktop.

Select an option

Save dublado/1478194 to your computer and use it in GitHub Desktop.
batch rename
find ./Music/ \( -name "*\?*" -o -name "*:*" -o -name "*\;*" -o -name "*\**" \) | xargs -n1 -I{} rename ? "" {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment