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

Re: globbing/wildcards (Was: Moving root repository)

From: Noel Yap <yap_noel_at_yahoo.com>
Date: 2002-10-17 01:50:57 CEST

--- Philip Martin <philip@codematters.co.uk> wrote:
> Brandon Ehle <azverkan@yahoo.com> writes:
>
> > There are roughly 150 directories & files in the
> root that need to be
> > moved, is there anyway to achieve this via
> wildcards or something else
>
> If you check out the entire repository you can use
> wildcards on the
> working copy, asssuming your shell supports them
> (probably not
> Windows). This isn't really feasible if the
> repository is large and
> has lots of tags/branches.
>
> Otherwise
>
> for i in `svn ls URL | egrep -v '(trunk|tags)'` ; do
> echo svn mv URL/$i URL/trunk ; done
>
> take out the echo if/when it looks right!

Do the Subversion commands support globbing/wildcards?
 If so, it would really help in working with large
directories. For example, I would be able to do "svn
co 'URL/[a-m]*'; svn co 'URL/[n-z]*'".

Thanks,
Noel

__________________________________________________
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos & More
http://faith.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Oct 17 01:51:38 2002

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

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