I have a series of files which differ in extension (for example, a.txt
, a.ps
, a.pdf
, etc.) and would like to copy them to a series of new files with a different name (b.txt
, b.ps
, b.pdf
, etc.), preferably using terminal as I am running all other necessary operations from there. Years ago, I used to be able to do this on a PC from command prompt quite simply with:
copy d.* a.*
while in the working directory.
I'm having trouble figuring out/finding the corresponding OSX command. Feel like I am missing something obvious here, but just cannot sort it out.
Help much appreciated. Thanks for your time.