Skip to content

Instantly share code, notes, and snippets.

@kazoo0217
Created May 29, 2018 07:30
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 kazoo0217/9e3f145424882b600e619c1298b97e96 to your computer and use it in GitHub Desktop.
Save kazoo0217/9e3f145424882b600e619c1298b97e96 to your computer and use it in GitHub Desktop.
URL エンコードされたファイル名をデコードしてリネームするスクリプト
#!/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