Skip to content

Instantly share code, notes, and snippets.

@lmj0011 lmj0011/rename.sh
Last active Feb 11, 2019

Embed
What would you like to do?
slugify filenames in the current directory
# c/p this into current directory
# note - does not remove special chars
rename -v 'y/A-Z/a-z/' * && rename -v 's/ /-/g' *
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.