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

Re: [CONTRIB] `sfind', a wrapper around `find' that ignores .svn directories

From: Øyvind A. Holm <sunny_at_sunbase.org>
Date: 2005-03-04 10:50:20 CET

On 2005-03-03 12:13:27 James FitzGibbon wrote:
> A simpler (though much dumber) version, if you're willing to install a
> couple of CPAN directories:

And an even simpler (and even dumber) version can be found in the
svnutils thing, at http://svnutils.tigris.org :

#!/bin/sh

#=======================================================================
# $Id: nosvn 101 2005-03-04 08:51:00Z sunny256 $
# Reads a bunch of filenames from stdin or files specified on the
# command line. Example of really cleaning up the working copy:
# cd /top/of/working/copy
# find . -type f | nosvn | xargs rm
# svn revert -R .
#=======================================================================

cat $* | egrep -v '/\.svn(/|$)'

Simple, yes, but I use it all the time, so I hereby declare it as
Useful™. :)

Regards,
Øyvind A. Holm
---------------------
#!/bin/bash
for f in 1 2 3; do
  PREF=http://musthave.sunbase.org/Stallman/stallman${f}c
  wget $PREF.sub ; mplayer -cache 8192 -sub stallman${f}c.sub $PREF.mpeg
done

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Mar 4 10:51:34 2005

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.