mirror of
https://github.com/Waradu/to-streamshare.git
synced 2026-02-03 21:54:22 +01:00
upload and delete files to/from streamshare with the terminal
- Rust 100%
| .github | ||
| src | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| README.md | ||
| test.txt | ||
To Streamshare (to-ss > toss)
Upload files to streamshare with the terminal.
Install
cargo install to-streamshare
Upload
toss "filepath"
toss --chunk-size 100 "filepath" # set chunk_size to 100
toss --server "streamshare.myserver.com" "filepath" # set server to your server
Delete
toss --delete "file_identifier/deletion_token"
Download
toss --download "file_identifier"
toss --download "file_identifier" --path "" # uses current path as default
toss --download "file_identifier" --replace # replace if file already exist