Unofficially Python client to upload files to the transfer.sh service

tanrax, updated 🕥 2022-12-08 12:40:46

transfersh-cli

Demo

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

Issues

Bump certifi from 2021.10.8 to 2022.12.7

opened on 2022-12-08 12:40:45 by dependabot[bot]

Bumps certifi from 2021.10.8 to 2022.12.7.

Commits


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/tanrax/transfersh-cli/network/alerts).
Andros Fenollosa

Teacher, Fullstack, CTO of CCSTech and writer. Lover of Clojure, Python and Linux.

GitHub Repository

python transfersh