If you want to share large files using commands only from your linux terminal then the Transfer.sh is the solution for you.
H Transfer.sh it does not require any installation from you. Everything is done online. Instead, all you'll need to do is install a program – Curl, which is one tool which helps you upload data to a server. It's easy to install and all you need to do is the following, depending on your operating program:
Open a terminal window on your Linux and type the following:
For Ubuntu (or anything based on Ubuntu): 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 via curl and the command line or via a web browser (so you can download them on any OS you're running, even 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, trafer.sh works with all file types, not just the one used in this example. In fact, you can upload up to 10 GBs for free in a single file, a size very satisfactory 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: Traηsfer.sh works on any system which has bash and curl. This means it can work with BSD and OSX (possibly even Windows), not just Linux.