A command line tool for cut and paste operations on files and directories.
go install github.com/pkitazos/cx/cmd/cx@latest
Cut a file or directory:
cx /path/to/file
Paste (move) the most recent item:
cx paste
Keep pasting (copy) the most recent item:
cx paste --persist
List clipboard contents:
cx list
Clear clipboard:
cx clear
cx [path]
- Cut a file or directory to clipboardcx paste
- Paste most recent clipboard entry (moves file)cx paste -p
- Paste most recent clipboard entry (copies file)cx list
- Show all clipboard entriescx clear
- Clear all clipboard entries
Files are stored in ~/.cx_clipboard.json
and persist between sessions.