hammerspoon2-docs
    Preparing search index...

    Function rmdir

    • Remove an empty directory. Fails if the directory is not empty. Use deletePath to remove a non-empty directory recursively.

      Parameters

      • path: string

        Path of the directory to remove. ~ is expanded.

      Returns boolean

      true on success, false on failure.