37 lines
1.1 KiB
Markdown
37 lines
1.1 KiB
Markdown
---
|
|
name: deliver-file
|
|
description: >
|
|
Deliver a file or directory from this host to the user's device over
|
|
Tailscale SSH. Use when the user wants to download, receive, or get a
|
|
file, document, archive, report, or folder from the host machine.
|
|
---
|
|
|
|
# Deliver File
|
|
|
|
The user's Windows machine pulls files from this host over Tailscale SSH.
|
|
Host address: `vasily@msi.tail0b014a.ts.net` (Tailscale IP 100.67.41.125).
|
|
|
|
## Steps
|
|
|
|
1. Resolve the absolute path of the file or directory.
|
|
2. Run `t3-deliver <path>` (on PATH; source: `global-skills/bin/t3-deliver`).
|
|
3. Hand the printed `scp` line to the user verbatim and note that they run
|
|
it in cmd or PowerShell on Windows.
|
|
|
|
If `t3-deliver` is missing, print the equivalent command yourself:
|
|
|
|
```text
|
|
scp vasily@msi.tail0b014a.ts.net:"/absolute/path/to/file" .
|
|
```
|
|
|
|
Add `-r` for directories.
|
|
|
|
## Notes
|
|
|
|
- Do not start HTTP servers or other transfer machinery for deliveries;
|
|
Tailscale SSH is the established path.
|
|
- For quick text-only needs the T3 client's "Copy contents" on an open
|
|
file also works.
|
|
- Keep generated deliverables at predictable paths and tell the user the
|
|
path when done.
|