1
0
Fork 0
mirror of https://github.com/SinTan1729/random.git synced 2024-12-26 13:18:35 -06:00
random/get-remote-tmp-clipboard

8 lines
273 B
Text
Raw Normal View History

#!/bin/bash
# This script should be used in conjunction with tmp-clipboard
# You need to pass a hostname to this script as an argument, and the script
# will pull the text saved by the remote machine's tmp-clipboard script
ssh $* 'cat /tmp/.tmp-clipboard; >$_' | wl-copy