Thank you, Jakob. That does exactly what I was looking for (but how do you
do to be aware of those functions?)
Yes I know this is a sharp tool (I don't use it without asking a confirmation
to the user first, with the full path being displayed). If someone comes here
in the archives, if you want more context and/or more warnings about using
this: http://marklogic.markmail.org/thread/46pyr3xrkuqncab5.
Regards,
--
Florent Georges
http://fgeorges.org/
http://h2oconsulting.be/
Jakob Fix wrote:
Hi Florent,
>
>there is an undocumented xdmp:filesystem-directory-delete( dirname as
>xs:string ) function.
>same for files: xdmp:filesystem-file-delete( filename as xs:string).
>sharp tools, as they say.
>
>
>cheers,
>Jakob.
>
>
>On Mon, May 12, 2014 at 8:41 PM, Florent Georges <[email protected]> wrote:
>
> Hi,
>>
>> Has there any way to delete a directory been added to MarkLogic 7.0? I
>>create directories and files on the file system from an application in
>>MarkLogic. I would like to delete some of them from within the application.
>>
>> I know that it was not possible back in September 2012, has it been added
>>since then?
>>
>> Regards,
>>
>>--
>>
>>Florent Georges
>>http://fgeorges.org/
>>http://h2oconsulting.be/
>>
>>
>>
>>_______________________________________________
>>General mailing list
>>[email protected]
>>http://developer.marklogic.com/mailman/listinfo/general
>>
>>
>
>
>
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general