[cvsnt] Renaming multiple files - wildcard not supported?

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


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


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
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook