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

Re: Renaming a file on windows with @20 in name

From: Michael Diers <mdiers_at_elego.de>
Date: Thu, 10 Mar 2011 00:11:36 +0000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2011-03-09 21:22, Stephen P Rufle wrote:
> I am trying the following.
> svn ren "48_at_20hrs.jpg" "48 hrs.jpg"
>
> I get the following message
> svn: '48' is not under version control
>
> I would like to automate the task of renaming ~100 files. I was able to
> use TortoiseSVN to do a single file manually, but am not sure how to get
> this to work from the command line.
>
> Please help :)

Stephen,

what command line interpreter (shell) are you using?

The files to be renamed must be referred to with a trailing "@",
like so:

svn ren "48_at_20hrs.jpg@" "48 hrs.jpg"

- --
Michael Diers, elego Software Solutions GmbH, http://www.elego.de
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk14FzgACgkQcEKlWnqVgz3pQQCbBGxVnheQKn05V9SDT002spC1
mMcAnRdx4HIzWf7HMJa1wBj57ze82ntR
=MBGE
-----END PGP SIGNATURE-----
Received on 2011-03-10 01:12:16 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.