rename 's/<in_re>/<out_re>/g' *

Useful options:

  • -v: List files renamed
  • -n: Dry-run
  • -d: Act just on the filename