If you want to share large files using commands only from your linux terminal then Transfer.sh is the solution for you.
H Transfer.sh requires no installation from you. Everything is done online. Instead, all you need to do is install a program - Curl, which is a tool that helps you upload data to a server. It's easy to install and all you have to do is, depending on your operating system:
Open a terminal window on your Linux and type the following:
For Ubuntu (or whatever Ubuntu-based): sudo apt-get install curl
For Fedora: sudo dnf install curl
For Arch: sudo pacman -S curl
Once Curl is installed, you are now ready to upload the files you want. Let's see how the following command example:
curl -upload-file ./filename https://transfer.sh/filename
If for example you want to upload, say, the "text.txt" file then the command will be:
curl -upload-file ./text.txt https://transfer.sh/text.txt
Once you run the command, the trassfer.sh will create a unique link λήψηs, a link where you can download your files through curl and the command line or through a web browser (so you can download them with any functional and if you're running, even with Windows).
The link to our file is as follows: https://transfer.sh/uw3Fp/text.txt
To download the uploaded file, you can both run it in your browser and click the download button, and type the following command in a terminal window of any linux operating
curl https://transfer.sh/yw3Fp/text.txt> text.txt
The above command will save the file locally. Of course traηsfer.sh works with all types files, and not just the one used in this example. In fact, you can upload up to 10 GBs in a single file for free, a size that is very satisfying even for the most demanding user.
If you are wondering why to share my files via a terminal instead of a browser, then the answer is: simplicity! The linux command line offers simplicity and combinational functionality with other programs, making it a great tool. It is no accident that fanatical fans.
Note: Trasfer.sh works on any system that has bash and curl. This means that it can work with BSD and OSX (possibly even with Windows), and not just with Linux.