Last active
February 11, 2019 12:25
-
-
Save lmj0011/860bf219573217cb97ac609afe38890e to your computer and use it in GitHub Desktop.
slugify filenames in the current directory
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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