Skip to main content

Command-line tool to upload files to

Project description

$ pip install

Command-line tool to upload files to


$ --help
usage: [-h] [--version] [-e E] [-n NAME] [-q] [-c] [-t PATH] [-z] [file]

Upload a file to and print the download link. Supports stdin.

positional arguments:
  file                  the file to upload

optional arguments:
  -h, --help            show this help message and exit
  --version             show program's version number and exit
  -e E, --expires E     set the expiration time for the uploaded file
  -n NAME, --name NAME  specify or override the filename
  -q, --quiet           hide the progress bar
  -c, --clip            copy the URL to your clipboard
  -t PATH, --tar PATH   create a TAR archive from the specified file or directory
  -z, --gzip            filter the TAR archive through gzip (only with -t, --tar)


Upload a file and copy the link:

$ hello.txt -c
[============================================================] 100% (15 bytes / 15 bytes) (copied to clipboard)
$ cat

Upload a compressed archiveCompress a file/directory and upload it (streaming):

$ -zt AllMyFiles/
/ (55MB)

Upload from stdin:

$ find .. -iname \*.py | -n file-list.txt
/ (312KB)



  • Fix missing entrypoint in new setup script


  • Fix declared dependencies in setup script


  • Replaced time.clock (removed in python 3.8) with time.perf_counter
  • Minimum Python version is 3.3


  • Add -t, --tar and -z, --gzip options
  • Fix NameError when using -c, --clip
  • Fix progress bar left incomplete


  • Initial version

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 (5.8 kB view hashes)

Uploaded source

Built Distribution

file.io_cli-1.0.4-py3-none-any.whl (6.7 kB view hashes)

Uploaded py3

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