Make a file link for a Mac
create_mac_linkMakes a link for one file of up to 2 GiB. upload puts it on the Mac at path: url is a page where anyone holding it picks the file, with no account, and upload_command sends it with curl; extract unpacks a zip or tar into path. download shares a file or folder (as a zip): url for a browser, download_url for curl, working after the Mac stops.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | upload: where it goes (with extract, the folder); download: the file or folder. Relative to the workspace; ~ is home. | |
| extract | No | upload: unpack a zip or tar (including .tar.gz) into the folder at path | |
| direction | Yes | upload: a file onto the Mac; download: a file or folder from it | |
| executable | No | upload: make the file executable once it arrives | |
| session_id | No | Mac session ID (ses_…). Optional: without it, the account's running Mac. | |
| wait_seconds | No | download: wait this long for the copy (0-50, default 30) | |
| expires_in_minutes | No | How long the link works (1-1440, default 60) |