How to rename multiple files with the same extension
How do you rename multiple files with the same prefix but different extensions to have a new prefix?
For example say I have tcpserver.c, tcpserver.h & tcpserver.fdh and want to drop the "server" from their names.
Under DOS I can do:
ren tcpserver.* tcp.*
What is the equivalent command under unix? Obviously mv tcpserver.* tcp.* does not do as intended.
|