Skip to content

Instantly share code, notes, and snippets.

@toshimaru
Created February 19, 2013 16:33
Show Gist options
  • Save toshimaru/4987497 to your computer and use it in GitHub Desktop.
Save toshimaru/4987497 to your computer and use it in GitHub Desktop.
#/bin/sh
for file in `ls | egrep '[0-9A-z、-◯ぁ-んァ-ヶ亜-腕弌-熙]'`; do
rename_file=`echo ${file} | sed -e 's/[0-9A-z、-◯ぁ-んァ-ヶ亜-腕弌-熙]//g'`
mv $file $rename_file
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment