Suppose that, on a UNIX system, I have a directory that contains the files abc.css
, abc.js
, and abc.html
. In the console, is there a command that I can run that will rename the files to xyz.css
, xyz.js
, and xyz.html
, respectively?
The solution that I'm envisioning is some combination of mv and a regular expression, but I'm not sure exactly how to combine the two.