I have a group of files with a set prefix, and I would like to change that prefix on all of the files simultaneously in terminal. So let's say I wanted to change this group
01-here.md
01-is.md
01-an.md
01-example.md
to this
02-here.md
02-is.md
02-an.md
02-example.md
I'm looking for something along the lines of mv 01*.md 02*.md
, but that doesn't work. After digging around a bit I found an easy way to accomplish the same task using finder, but finder is for slowpokes and losers, obviously, so I still want to know how to do it "for realz."
EDIT: Using OS X