Re:macOS command-line tools you might not know about
by inanutshellus on Tuesday June 27, 2023 @08:58AM
(#36492101)
I love this flow! Such a powerful and clean way to solve text issues.
Also - if you want `pbpaste` and `pbcopy` on Linux...
[ Parent
| on HN ]
Re:macOS command-line tools you might not know about
by computerfriend on Tuesday June 27, 2023 @09:59AM
(#36492879)
Here's the xclip way (almost the same actually).
alias pbcopy="xclip -selection clipboard"
alias pbpaste="xclip -selection clipboard -o"
Re:macOS command-line tools you might not know about
by lordgrenville on Tuesday June 27, 2023 @10:29AM
(#36493355)
I use this, and another Mac affordance I copy in Linux is
alias open="xdg-open"
Re:macOS command-line tools you might not know about
by lozf on Tuesday June 27, 2023 @02:13PM
(#36496613)
There's `wl-copy` and `wl-paste` for Wayland users too,
via https://github.com/bugaevc/wl-clipboard
Re:macOS command-line tools you might not know about
by netr0ute on Tuesday June 27, 2023 @03:06PM
(#36497311)
And `cb` which works cross-platform, via https://github.com/Slackadays/clipboard