Removing an entire, non-empty directory [Linux] #1189
-
Hi, The following works on Windows: but it doesn't on Linux. I also tried the following options on Linux: and none of the above worked. I tried all of the above from the python code and after connecting to a host from crowdstrike host dashboard. It never works when the directory is not empty. What would be the recommended way to delete an entire directory? Btw. the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Beta Was this translation helpful? Give feedback.
rm
seems not to work on Windows when a directory is not empty. To workaround this, I went for"runscript -Raw=```rm -rf {directory}```"
.