A simple Rust CLI tool for moving and copying files or directories from your Windows Subsystem for Linux (WSL2) to your Windows Machine. You might ask yourself if you couldn't just pin your home directory to your Windows directory to Drag and Drop it to your Desktop.
Simply said: After you get used to this Tool, the repetitive task of copy and paste doesn't exist anymore.
Do I even have to mention the annoying Security Warnings when dealing with manual copy and pasting?
- Open up the WSL Terminal
- Install
cURL
using:sudo apt install curl
- Download the tool:
curl https://github.com/jakkoble/transfer/releases/latest/download/transfer
- Move it to the User Binaries Directory with
sudo mv transfer /usr/local/bin
- Type
transfer
to execute the CLI
By default, you just have to specify the file/directory and it gets moved to your Windows Desktop. If you want a different behavior, you can specify options. (See Screenshot)
$ transfer -h
$ transfer my_script.sh
$ transfer -c my_script.sh
$ transfer -c my_script.sh perfect_script
$ transfer -c -f my_script.sh
If you need further help or you find a bug, feel free to open a new Issue.