mirror of
https://github.com/SinTan1729/random.git
synced 2024-12-24 20:38:36 -06:00
7 lines
272 B
Bash
7 lines
272 B
Bash
#!/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
|