[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn rename glob?

From: Helge Kruse <Helge.Kruse-nospam_at_gmx.net>
Date: Sun, 11 Jan 2009 11:52:16 +0100

Use the "svn rename" command recursive. For example to rename all .cpp files to .cxx files you use this command:

for /R . %f in (*.cpp) do svn rename %f %~dpnf.cxx

Helge

----- Original Message -----
From: "Steve Cohen" <scohen_at_javactivity.org>
To: <users_at_subversion.tigris.org>
Sent: Saturday, January 10, 2009 9:50 PM
Subject: svn rename glob?

>I wish to rename all files in a directory tree by changing their
> extension (keeping rest of filename the same) without losing history.
>
> Before I screw myself up can someone tell me if there is a way to do
> this with a single command line? If not, what would be the easiest way
> to perform this operation?
>
> ------------------------------------------------------
> http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1015782
>
> To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1016941

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-01-12 14:07:01 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.