https://github.com/luisreinoso/upload-file-cli
📁 Unofficial file.io cli
https://github.com/luisreinoso/upload-file-cli
cli file file-sharing file-upload nodejs typescript
Last synced: 3 months ago
JSON representation
📁 Unofficial file.io cli
- Host: GitHub
- URL: https://github.com/luisreinoso/upload-file-cli
- Owner: LuisReinoso
- Created: 2019-08-17T18:33:28.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-09-08T03:10:16.000Z (almost 4 years ago)
- Last Synced: 2025-03-25T20:59:02.833Z (over 1 year ago)
- Topics: cli, file, file-sharing, file-upload, nodejs, typescript
- Language: TypeScript
- Size: 36.1 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
An Unofficial [file.io](file.io) cli

# Instalation
```console
npm install -g upload-file-cli
```
# Usage
## File
To upload a file provide path with ```-p```
```console
upload-file-cli -p /home/luis/foo.txt
```
## Folder
To upload a folder provide path with -p. Folder will be zipped.
```console
upload-file-cli -p /home/luis/data/
```
## Expiration
Expiration day for **default is 14 days**.
If you want another use ```-e```
```console
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](file.io) no apiKey required.
* this project is an unofficial cli for [file.io](file.io).
* before upload any file/folder please read: Terms of Service and Privacy policy from [file.io](file.io)
# Licence
Luis Reinoso [MIT LICENCE](LICENCE)