An open API service indexing awesome lists of open source software.

https://github.com/hakerdefo/transfer

transfer uploads file or directory to https://transfer.sh
https://github.com/hakerdefo/transfer

bash linux script shell transfer-files upload-file uploader

Last synced: 7 months ago
JSON representation

transfer uploads file or directory to https://transfer.sh

Awesome Lists containing this project

README

          

# transfer
transfer is a simple bash script that uploads file or directory to [transfer.sh] and generates a download link. Directory will be compressed into an archive (tar.gz) and uploaded. Maximum filesize limit is 5 GB. File will expire in 14 days.

### Dependencies :
- curl - [curl] is a command line tool and library for transferring data with URL syntax. curl is available in repositories of almost every Linux distribution so you can install curl easily via your package manager.
- Tar - [Tar] Tar is a program for packaging a set of files as a single archive in tar format. It is useful for performing system backups and exchanging sets of files with others. Tar should already be installed in most Linux distributions.

### Installation :
Simply download [transfer-master.zip], extract it, and copy the file 'transfer' to '/usr/local/bin/' directory,
```sh
$ sudo cp transfer /usr/local/bin/
```
Next make it executable,
```sh
$ sudo chmod a+x /usr/local/bin/transfer
```

### Usage :
Run 'transfer' from terminal, give full path to the file or directory to upload and your file or directory will be uploaded to [transfer.sh] and a download link to that file or directory will be generated.

### Support :

If you like **transfer**, please consider supporting it, even the smallest contribution goes a long way. It is quick & easy via PayPal, Buy Me a Coffee or Liberapay:

[![Support via PayPal](https://cdn.jsdelivr.net/gh/twolfson/paypal-github-button@1.0.0/dist/button.svg)](https://paypal.me/hakerdefo)
[!["Buy Me A Coffee"](https://user-images.githubusercontent.com/1376749/120938564-50c59780-c6e1-11eb-814f-22a0399623c5.png)](https://www.buymeacoffee.com/hakerdefo)
[![Support via Liberapay](https://liberapay.com/assets/widgets/donate.svg)](https://liberapay.com/hakerdefo/donate)

### Credits :
transfer is inspired from a bash alias by Remco Verhoef.

### License :
[![Public Domain Mark](http://i.creativecommons.org/p/mark/1.0/88x31.png)](http://creativecommons.org/publicdomain/mark/1.0/)
This work (transfer, by [hakerdefo](https://github.com/hakerdefo/transfer)), identified by [hakerdefo](https://hakerdefo.blogspot.com), is free of known copyright restrictions.

[transfer.sh]:https://transfer.sh
[curl]:http://curl.haxx.se
[Tar]:https://www.gnu.org/software/tar/
[transfer-master.zip]:https://github.com/hakerdefo/transfer/archive/master.zip