I need to copy a series of files that look like
foo.bar foo.baz foo.boo ...
into the same director, but change the
moo.bar moo.baz moo.boo ...
But I'm not sure how I can copy and rename multiple files in one command. Something along the lines of
cp 'foo.*' . | ren foo.* moo.*
Except that doesn't make syntatic sense.