Share files from your command line with SynWave
1. Install the command line tool using NPM
$ npm install -g synwave
2. Show all options
$ synwave help
SynWave Command Line tool. https://synwave.n5labs.net.
Actions:
upload: Uploads a new file into SynWave service.
$ synwave upload filename [--expiration value] [--download_limit value] [--auth_username username --auth_password password]
Options:
--expiration value: Number of seconds after the file will become unavailable.
--download_limit value: Number of time the file can be downloaded until it becomes unavailable.
--auth_username value: Username to protect this file. --auth_password is required if username is set.
--auth_password value: Password to protect this file. --auth_username is required if password is set.
Example:
$ synwave upload myfile.txt --expiration 3600
list: Lists files stored on SynWave service.
$ synwave list
account: Shows a summary with account information.
$ synwave account
delete: Delete a file store on SynWave service.
$ synwave delete [file_id]
3. Upload any file
$ synwave upload /home/user/myfile.pdf
https://synwave.n5labs.net/t/vmgmrqKrkBdDuusbuzL40kLIV4LJJOiVzhTmJkpTOJKYz