Skip to content

cinch pull

cinch pull retrieves the latest clip from the relay and writes it to stdout.

Terminal window
cinch pull [flags]
Terminal window
# Pull to stdout
cinch pull
# Pull and pipe to macOS clipboard
cinch pull | pbcopy
# Pull and open (e.g. a URL)
cinch pull | xargs open
# Pull latest clip from a specific machine
cinch pull --from prod-server
# Pull latest clip from a machine, text clips only
cinch pull --from staging --text-only
# Pull an image clip to a file
cinch pull --from prod > screenshot.png
# Pull an image directly to the Mac clipboard (TTY only)
cinch pull --from prod --copy
FlagTypeDefaultDescription
--fromstringPull the latest clip pushed from this device (by nickname or hostname)
--text-onlyboolfalseSkip image clips, return the latest text clip only
--copyboolfalseCopy an image clip to the system clipboard (TTY only, macOS)
CodeMeaning
0Success
1Generic error
2Authentication failure — run cinch auth login
3Network error — relay unreachable
4Relay error — server-side failure