Hi Jakob,

Directories cannot be renamed, but can be removed. To do this you could install 
CQ on your server and run:

xdmp:directory-delete('/data/2009/07/14//');

Note: this will remove all child documents and directories.

Kind regards,
Geert

>


Drs. G.P.H. Josten
Consultant


http://www.daidalos.nl/
Daidalos BV
Source of Innovation
Hoekeindsehof 1-4
2665 JZ Bleiswijk
Tel.: +31 (0) 10 850 1200
Fax: +31 (0) 10 850 1199
http://www.daidalos.nl/
KvK 27164984
De informatie - verzonden in of met dit emailbericht - is afkomstig van 
Daidalos BV en is uitsluitend bestemd voor de geadresseerde. Indien u dit 
bericht onbedoeld hebt ontvangen, verzoeken wij u het te verwijderen. Aan dit 
bericht kunnen geen rechten worden ontleend.


> From: [email protected]
> [mailto:[email protected]] On Behalf Of
> Jakob Fix
> Sent: dinsdag 14 juli 2009 20:03
> To: General Mark Logic Developer Discussion
> Subject: [MarkLogic Dev General] unnamed directory ... help please.
>
> Oops, my code has created this kind of directory (note the
> double // slash just before the filename):
>
> /data/2009/07/14//msit-v2006-8-en-fr.xml
>
> How can I "rename" the directory to
>
> /data/2009/07/14/
>
> Sorry for this, but I've tried using webdav and it hangs
> (OxygenXML) or crashes (Finder).
>
> cheers,
> Jakob.
> _______________________________________________
> General mailing list
> [email protected]
> http://xqzone.com/mailman/listinfo/general
>

_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general

Reply via email to