CLI Quickstart
Here’s how to send a file using halfcopy.
Install halfcopy
Section titled “Install halfcopy”Run the appropriate command from below, according to your OS:
cargo install halfcopypowershell -ExecutionPolicy Bypass -c "irm https://github.com/vgskye/halfcopy/releases/latest/download/halfcopy-installer.ps1 | iex"curl --proto '=https' --tlsv1.2 -LsSf https://github.com/vgskye/halfcopy/releases/latest/download/halfcopy-installer.sh | shSend a file
Section titled “Send a file”Find a file you’d like to send, and run:
halfcopy send path/to/filereplace path/to/file with the path to the file you want to send!
You’ll see a four-word phrase appear on standard output. Note this down to get the file.
Get a file
Section titled “Get a file”From a directory that does not contain a file with the same filename(possibly on another computer), run:
halfcopy recv your-four-word-phrasereplace your-four-word-phrase with the code you got earlier. This code is single-use and cannot be reused.
You’ll see a progress bar while the file is being transferred.
Stop sending the file
Section titled “Stop sending the file”Currently, halfcopy send does not terminate after the code is used up; to stop the transfer, press Ctrl+C and wait for it to shut down.