Transfer.sh: Share large files via the Linux terminal

If you want to share using commands only from your linux terminal then Transfer.sh is the solution for you.

transfer.sh

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

ternimal1

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

ternimal2

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 and if you're running, even with Windows).

The link to our file is as follows: https://transfer.sh/uw3Fp/text.txt

terminal3

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

terminal4

The above command will save the file locally. Of course traηsfer.sh works with all types , 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.

iGuRu.gr The Best Technology Site in Greecefgns

every publication, directly to your inbox

Join the 2.087 registrants.

Written by Dimitris

Dimitris hates on Mondays .....

Leave a reply

Your email address is not published. Required fields are mentioned with *

Your message will not be published if:
1. Contains insulting, defamatory, racist, offensive or inappropriate comments.
2. Causes harm to minors.
3. It interferes with the privacy and individual and social rights of other users.
4. Advertises products or services or websites.
5. Contains personal information (address, phone, etc.).