Skip to content

Instantly share code, notes, and snippets.

@sasasin
Created October 19, 2012 01:35
Show Gist options
  • Save sasasin/3915779 to your computer and use it in GitHub Desktop.
Save sasasin/3915779 to your computer and use it in GitHub Desktop.
もっと単純な、リネームコマンドです。
ls \
| awk '{printf("mv \"%s\" 20121018.%06d\n", $0 , NR + 1000)}' \
| sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment