💾 Archived View for freeshell.de › tldr › xclip.gmi captured on 2023-07-10 at 15:04:35. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2022-04-28)
-=-=-=-=-=-=-
X11 clipboard manipulation tool, similar to `xsel`.
Handles the X primary and secondary selections, plus the system clipboard (`Ctrl + C`/`Ctrl + V`).
echo 123 | xclip
echo 123 | xclip -selection {primary|secondary|clipboard}
echo 123 | xclip -sel clip
xclip -sel clip {input_file.txt}
xclip -sel clip -t image/png {input_file.png}
xclip -i
xclip -o
xclip -o -sel clip
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).