On Tue, 2009-05-05 at 14:47 +0200, Andrea Aime wrote:
> So it seems the following would do the job
>
> mkdir gtrepo
> sudo mount.davfs 'http://download.osgeo.org/webdav/geotools/' gtrepo
> cd gtrepo/org/geotools
> find . -name "*SNAPSHOT" -type d -exec rm -r {}\;
>
> should do the trick.
> Can anyone confirm it would work?
Yes, this looks good to me (a fairly regular user of find and friends).
If you are worried about deleting things you didn't mean to, you could
also do something like -exec mv {} /tmp/{} \; .
--
David Winslow
OpenGeo - http://opengeo.org/
------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel