[cvsnt] Renaming multiple files - wildcard not supported?

Tony Hoyle tony.hoyle at march-hare.com
Fri Dec 14 15:32:25 GMT 2007


Luigi D. Sandon wrote:
> I have to rename several files due to a change in the application name, and 
> the tool I use create some executable files using the source file name. Does 
> cvs rename support wildcards? I get an error if I try.
> 
No it doesn't.  AFAIK you can't wildcard rename on any system except DOS 
(and then only because the filename is in two parts - name and extension).

There's no obvious behaviour that would make sense for such an 
operation, unless it was able to understand something like sed syntax 
(eg. cvs rename 's/^(.*)\.foo$/\1.bar/g')

You could shell script it easily enough.. that's how I normally do that 
kind of thing.

Tony


More information about the cvsnt mailing list