Delete one non-empty directory

How could we delete one non-empty directory using Julia. I have tried to use rm(“path”, force=true), but it doesn’t work. Any better way to do it. Thanks

rm(path, recursive=true), as explained in the manual:

If recursive=true is passed and the path is a directory, then all contents are removed recursively.

1 Like

Thank you