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

RE: Re: use svnadmin to set revision number?

From: Reedick, Andrew <Andrew.Reedick_at_BellSouth.com>
Date: 2006-07-26 18:57:53 CEST

> -----Original Message-----
> From: Tom Vaughan [mailto:tom@creativedigitalsys.com]
> find . -type f | grep -v .svn | \
> xargs -I '{}' cp -a '{}' ../project1/'{}'
> cd ../project1
> svn ci project1
>

That's bad. The '.' in 'grep -v .svn' is a wildcard and will match any
char. Either use:
        grep -v '\.svn' or
        grep -v \\.svn

Here's what I use to exclude the '.svn' dirs from find:
        find . -name '.svn' -prune -o -print

If you forget the syntax, there's a similar example in 'man find'.

*****

The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential, proprietary, and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from all computers. 163

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jul 26 19:00:01 2006

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.