mirror of
https://github.com/SinTan1729/random.git
synced 2024-12-25 20:58:37 -06:00
8 lines
273 B
Text
8 lines
273 B
Text
|
#!/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
|