upload-file-cli

1.0.1 • Public • Published

An Unofficial file.io cli

Instalation

npm install -g upload-file-cli

Usage

File

To upload a file provide path with -p

upload-file-cli -p /home/luis/foo.txt

Folder

To upload a folder provide path with -p. Folder will be zipped.

upload-file-cli -p /home/luis/data/

Expiration

Expiration day for default is 14 days. If you want another use -e

upload-file-cli -p /home/luis/data/ -e 5
  • days: just send a number: 5
  • weeks: send a number follow w: 5w
  • months: send a number follow m: 2m
  • years: send a number follow y: 1y

Notes

  • this service is provide by file.io no apiKey required.
  • this project is an unofficial cli for file.io.
  • before upload any file/folder please read: Terms of Service and Privacy policy from file.io

Licence

Luis Reinoso MIT LICENCE

Dependencies (4)

Dev Dependencies (4)

Package Sidebar

Install

npm i upload-file-cli

Weekly Downloads

0

Version

1.0.1

License

MIT

Unpacked Size

11.2 kB

Total Files

5

Last publish

Collaborators

  • luis.reinoso