> -----Original Message-----
> From: ithinkihaveacat_at_gmail.com [mailto:ithinkihaveacat_at_gmail.com] On
> Behalf Of Michael Stillwell
> Sent: Wednesday, January 02, 2008 11:45 AM
> To: users_at_subversion.tigris.org
> Subject: moving multiple directories: {foo,bar} to quux/{foo,bar}
> 
> 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.)
> 
svn co -N $SVNROOT
cd workspace
svn co -N $d  (or is it svn update -N $d?)
svn co -N quux  (or svn update -N ...?)
svn mv blah blah blah to quux
svn ci
---------------------------------------------------------------------
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:02:59 CET