Transfer.sh: Share large files via the Linux terminal

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

transfer.sh

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 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 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 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

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, 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 which has bash and curl. This means it can work with BSD and OSX (possibly even Windows), not just Linux.

iGuRu.gr The Best Technology Site in Greecefgns

every publication, directly to your inbox

Join the 2.086 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.).