Is there a one line command in tcsh
to change the extension of a set of files? In the various DOS shells, I used to use the following:
ren *.abc *.def
This would rename all files ending in .abc
to end instead with .def
. In sed
terms this would perform something like the following:
sed -e 's/\(.\)*\.abc$/\1.def/'
on the file names. I could probably throw bits and pieces together to achieve something similar in *nix, but I'm guessing that the issue here is my lack of experience with tcsh
.
Any help appreciated.