hammerspoon2-docs
    Preparing search index...

    Function move

    • Move (rename) a file or directory. The destination must not already exist.

      Parameters

      • source: string

        Path to the existing file or directory. ~ is expanded.

      • destination: string

        New path. ~ is expanded.

      Returns boolean

      true on success, false on failure.