Send a directory over WebSockets
Go to file
2024-06-08 21:18:35 +07:00
src Change wording 2024-06-08 21:18:35 +07:00
.gitignore First commit 2024-06-08 21:15:12 +07:00
Cargo.lock First commit 2024-06-08 21:15:12 +07:00
Cargo.toml First commit 2024-06-08 21:15:12 +07:00
README.md First commit 2024-06-08 21:15:12 +07:00

Send Directory

# Receiver process
sync-directory --port 8080 --output-dir ~/Downloads/output_dir

# Sender process
sync-directory --from ~/Downloads/input_dir --to ws://localhost:8080

Once the sender command is completed, the receiver process should exit automatically, and the contents of input_dir will be found under output_dir.