Created
May 29, 2018 07:30
-
-
Save kazoo0217/9e3f145424882b600e619c1298b97e96 to your computer and use it in GitHub Desktop.
URL エンコードされたファイル名をデコードしてリネームするスクリプト
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
#!/bin/bash | |
# URL エンコードされたファイル名をデコードしてリネームするスクリプト | |
find . -type f -exec bash -c "mv {} \`echo {} | nkf -w --url-input \`" \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment