Skip to content
Pk11 edited this page Jan 29, 2023 · 5 revisions

The rmdir function has 1 required parameter and one optional. It removes a directory.

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

You can find an example here:

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