upload-file-cli

Unofficial file.io cli


Keywords
upload, file, folder, file.io, nodejs, cli, typescript, file-upload, file-sharing
License
MIT
Install
npm install upload-file-cli@1.0.1

Documentation

An Unofficial file.io cli

Upload image 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