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

moving multiple directories: {foo,bar} to quux/{foo,bar}

From: Michael Stillwell <mjs_at_beebo.org>
Date: Wed, 2 Jan 2008 16:45:19 +0000

Is there a neat way of moving multiple files/directories at once?
I've been doing something like:

  $ for d in dir1 dir2 ; do svn mv -m '' $SVNROOT/$d $SVNROOT/quux/$d ; done

but this: (a) creates a revision per directory; (b) requires knowledge
of the repository URL; and (c) isn't very pretty.

Basically, is there a subversion equivalent of:

  $ mv dir1 dir2 quux

? (Or of TortoiseSVN's right-click drag.)

--M.

-- 
http://beebo.org
+44 78 2118 9049
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-01-04 07:21:41 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.