Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tanrax/transfersh-cli
Unofficially Python client to upload files to the transfer.sh service
https://github.com/tanrax/transfersh-cli
python transfersh
Last synced: 28 days ago
JSON representation
Unofficially Python client to upload files to the transfer.sh service
- Host: GitHub
- URL: https://github.com/tanrax/transfersh-cli
- Owner: tanrax
- License: gpl-3.0
- Created: 2018-07-23T16:26:35.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-04-10T05:22:08.000Z (8 months ago)
- Last Synced: 2024-08-10T00:08:01.026Z (4 months ago)
- Topics: python, transfersh
- Language: Python
- Homepage:
- Size: 39.1 KB
- Stars: 21
- Watchers: 7
- Forks: 7
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
- awesome-starred - tanrax/transfersh-cli - Unofficially Python client to upload files to the transfer.sh service (python)
README
# transfersh-cli
![Demo](media/demo.svg)
[![No Maintenance Intended](http://unmaintained.tech/badge.svg)](http://unmaintained.tech/)
## Install
``` bash
pip3 install transfersh-cli
```## Use
``` bash
transfersh [file]
```Example
``` bash
transfersh photos.zip
```Output
``` bash
Uploading file
Download from here: https://transfer.sh/uDRFQ/upload_file
It has also been copied to the clipboard!
```In addition, the route will be saved in your clipboard. Ready to paste it where you want :wink:
## Options
### Maximum number of days to keep file
`-a` or `--max-days`.
``` bash
transfersh --max-days [number] [file]
```Example
``` bash
transfersh --max-days 7 photos.zip
```### Maximum number of times that file can be downloaded
`-d` or `--max-downloads`.
``` bash
transfersh --max-downloads [number] [file]
```Example
``` bash
transfersh --max-downloads 2 photos.zip
```