JACL : Is there a way to delete all files on a certain directory folder?

65 Views Asked by At

I am trying to find a way to delete all files on a certain folder using JACL Script. I have tried to use

$AdminConfig deleteDocument *directory*

but it doesn't work. It only deletes a specific file given the file name. Is there a way to delete all of the files at the same time rather than reiterating this and deleting it one by one?

Already tried to use deleteDocument function of $AdminConfig

$AdminConfig deleteDocument directory

Expected result is to delete everything on the temp folder. Output is an error saying that it is not found since I didn't specify a file

0

There are 0 best solutions below