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

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

From: Mark Reibert <svn_at_reibert.com>
Date: Wed, 02 Jan 2008 22:15:21 -0700

I realize you prefer not to have knowledge of the repo URL, but you can
accomplish this w/o a working copy with mucc (or svnmucc). See:

http://subversion.tigris.org/servlets/BrowseList?list=users&by=thread&from=605089

On Wed, 2008-01-02 at 16:45 +0000, Michael Stillwell wrote:
> 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.

-- 
----------------------
Mark S. Reibert, Ph.D.
svn_at_reibert.com
----------------------
---------------------------------------------------------------------
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 03:18:29 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.