Very simple clipboard manager for copying/cutting and pasting files and strings on windows from the commandline. The code is very simple, only 150 lines long.
This is integrated with windows ctrl+c ctrl+v, meaning that you can copy/cut a file with ctrl+c/ctrl+x and then paste/move it from the commandline. You can also copy/cut it from the commandline and paste/move it with ctrl+v.
- Copy files
- Copy strings
- Cut files
- Paste files
- Clear clipboard
- Show clipboard content
- Integrated with windows ctrl+c ctrl+v
Download the binary from releases or just build the project with dotnet
dotnet build --configuration Release
Then put the binary in some directory that you have in PATH
.
Copy multiple files
ClipboardManager --copy ./test1.txt ../test/test2.txt
Copy multiple strings (they will be copied as multiple lines)
ClipboardManager --copy -s "Hello" "World"
Cut multiple files
ClipboardManager --cut ./test1.txt ../test/test2.txt
Paste/Move the copied/cut files in the current directory
ClipboardManager --paste
Paste/Move the copied/cut files in the current directory and overwrite the existing file with the same name if exists
ClipboardManager --paste -f
Paste/Move the copied/cut files in a specified directory
ClipboardManager --paste ./some_dir
Show copied files or strings from clipboard
ClipboardManager --show
Clear clipboard
ClipboardManager --clear