Skip to content

cinch push

cinch push reads from stdin and sends the content to the relay server.

Terminal window
<command> | cinch push [flags]
Terminal window
# Push text
echo "meeting notes" | cinch push
# Push file contents
cat report.csv | cinch push
# Push git diff
git diff HEAD~1 | cinch push
# Push to a specific device
echo "hello" | cinch push --to devbox
# Push with a label (visible in desktop app history)
cat error.log | cinch push --label "build error"
# CI: push using env vars instead of stored credentials
echo "artifact url" | cinch push # with CINCH_TOKEN + CINCH_RELAY_URL set
FlagShortTypeDefaultDescription
--label-lstringLabel for this clip (shown in desktop history)
--ttl-tint0Auto-delete after N seconds (0 = no expiry)
--silent-sboolfalseSuppress success output
--typestringForce MIME type (e.g. image/png)
--textboolfalseForce text mode, skip binary auto-detection
--tostringSend only to the device with this nickname
--tokenstringOverride auth token (for CI/automation; prefer CINCH_TOKEN env var)
--relaystringOverride relay URL (prefer CINCH_RELAY_URL env var)
VariableDescription
CINCH_TOKENAuth token. Overrides stored credentials — useful in CI without touching disk.
CINCH_RELAY_URLRelay URL. Overrides the value in ~/.cinch/config.json.
CodeMeaning
0Success
1Generic error
2Authentication failure — run cinch auth login
3Network error — relay unreachable
4Relay error — server-side failure