The fastest way to share your local files on the web (Windows / Linux / macOS), for free.
Powered by transfer.sh online service.
Linux + macOS | Windows |
---|---|
curl https://tshare.download | bash |
curl -L https://tshare.download/windows.zip -o tshare.zip |
minimal
tshare /path/to/file
keep file online for two days / max 10 downloads
tshare -t 2 -d 10 /path/to/file
encrypt using gpg if installed on your system
tshare -c your-secret-password /path/to/file
save a copy of your mysql db
mysqldump wordpress_db | tshare --stdin -c secret_password -o export.sql
Binaries are experimental: feedbacks are welcome :)
If you have homebrew
on your MacOS/Linux, you can install tshare
using a local formula:
HOMEBREW_NO_INSTALL_FROM_API=1 brew install --build-from-source ./tshare.rb
You're done 🎉
Run tshare -h
, star this repository and have fun.
If you don't have homebrew, you need a dlang compiler to compile tshare by yourself.
- Ubuntu:
sudo apt install dub ldc libcurl-dev
- macOS:
brew install ldc dub
- Windows: see below
or
download an official package here
dub build