Quick Post
Easy File Sharing with transfer.sh
Quickly send someone a small file download link with transfer
File sharing typically involves signing into a storage provider, uploading the file, and then remembering how to share it with someone else.
Although not a tedious process, this can be accomplished with a lot less brain power thanks to tools such as transfer.sh.
With a single terminal command, you can generate a temporary download link you can share with anybody. The link becomes inactive after two weeks.
This free service lets you upload unlimited data for short-term file sharing.
You can use this service right now via Client URL (cURL). The code below will generate a shareable download link.
curl --upload-file ./hello.txt https://transfer.sh/hello.txt
Transfer Function: Oh-My-Zsh
If you use Oh-My-Zsh, simply add the transfer plugin to your .zshrc
.
plugins=(... transfer)