Comment by Towaway69
13 hours ago
On Mac you can use pbcopy to copy something your pasteboard aka clipboard.
So the first command becomes:
tar -cz dir | base64 | pbcopy
13 hours ago
On Mac you can use pbcopy to copy something your pasteboard aka clipboard.
So the first command becomes:
tar -cz dir | base64 | pbcopy
And of course you can use pbpaste for the inverse. Doesn’t work over SSH though, which is almost certainly how you’d be using this.
True that unless ssh tunnels the pasteboard nowadays ;)
GP was doing this using GUI and TUI so it's a case of having two terminals open to two different machines I assume.