Shell
3 mo. ago
Quickly paste clipboard content into a remote file over ssh using pbpaste and cat.
# Content must be on your clipboard before executingpbpaste | ssh USERNAME@IP_ADDRESS 'cat > /path/to/file/docker-compose.yml'
Quickly paste clipboard content into a remote file over ssh using pbpaste and cat.
# Content must be on your clipboard before executingpbpaste | ssh USERNAME@IP_ADDRESS 'cat > /path/to/file/docker-compose.yml'