hammerspoon2-docs
    Preparing search index...

    Function link

    • Create a hard link at destination pointing at source. Both paths must be on the same filesystem volume.

      Parameters

      • source: string

        Path of the existing file.

      • destination: string

        Path for the new hard link.

      Returns boolean

      true on success, false on failure.