3
rmdir
Pk11 edited this page 2022-05-07 18:02:21 -05:00

The rmdir function has 1 parameter. It removes a directory.

directory -> The Directory which should be removed/deleted with all it's Content. A warning Message will also appear. required -> If true, the script will error if the folder doesn't exist, if false it will silently continue.

You can find an example here:

{
    "type": "rmdir",
    "directory": "sdmc:/3ds/oldFolder/unndeded"
    "required": false
}