Andrea Aime wrote:
> Andrea Aime ha scritto:
>
>> Jody Garnett ha scritto:
>>
>>>> A search for a Maven undeploy plugin turned out
>>>> to be fruitless. If we go down this way, how do
>>>> we remove all the gt2 snapshots from the OSGEO
>>>> repo? Manually?
>>>>
>>> Yep
>>>
>> It would seem it's possible to mount a WebDAV
>> server into the local filesystem in Linux:
>> http://sysblogd.wordpress.com/2007/09/09/ubuntu-mounting-remote-filesystem-using-davfs2-fuse/
>> (and afaik it's possible with windows as well).
>>
>> At that point, it's like scripting the local fs,
>>
>
> 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? I managed to to the first
> part on my notebook but the time it takes to just make an
> ls is crazy, the simpler
> find . -name "*SNAPSHOT" -type d
> has been running for various minutes already (need to try
> this out from a NY server, here the latency is killing my
> attempt).
>
> Cheers
> Andrea
>
Use single quotes, otherwise your shell could expand the *s, here's one
with one more safety:
find . -path '*geotools*' -name '*SNAPSHOT' -type d -exec rm -Rf {} \;
-Arne
--
Arne Kepp
OpenGeo - http://opengeo.org
Expert service straight from the developers
------------------------------------------------------------------------------
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
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel