Skip to main content

transfer.sh command-line client

Project description

transfer.sh-uploader

Python client for uploading files to transfer.sh (https://transfer.sh)

Usage:

  • Start script:

    transfer_files
  • Enter directory, which files you want to upload (as a parameter, or interactively):

    transfer_files ./
  • After download link received and copied to clipboard automatically, confirm weather keep files in directory or delete them(or to delete just the created archive):

    Delete files in the directory?(y/n, Y/N, archive):
  • Share created download link where ever you want!

Download

pip3 install transfersh_client

Requirements

  • pyperclip

  • requests

Sample output

transfer.sh-uploader|master⚡ ⇒ transfer_files ./
Creating zipfile from files in... ./
Added file:  README.md
Added file:  .idea
Added file:  requirements.txt
Added file:  transfer_file.py
Added file:  .git
Added file:  LICENSE

Sending zipfile:  files_archive_08-28_15:22.zip
 Link to download zipfile:
https://transfer.sh/eoqSx/files_archive_08-28_15:22.zip

 Delete files in the directory?(y/n, Y/N, archive): n
 OK, files will be there

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

transfersh_client-1.0.4.tar.gz (2.9 kB view hashes)

Uploaded Source

Built Distribution

transfersh_client-1.0.4-py2.py3-none-any.whl (4.9 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page