linx

[unsupported] Command line interface for Linx.li


License
Other
Install
pip install linx==0.1.5

Documentation

linx

No longer supported, please use linx-client


Python uploader for linx.li.

Allows for uploading (multiple) files, deleting files from linx (when uploaded through it).

Requirements

  • python2
  • requests

Installation

If you have pip, go ahead and

pip install linx

If not, clone this repository and

python setup.py install

Usage

Upload file.txt with default options

linx file.txt

Upload file.txt with an expiration time of 60 seconds

linx -e 60 file.txt

Upload file1.txt, file2.txt and file3.txt

linx file1.txt file2.txt file3.txt

Upload "hello there"

echo "hello there" | linx

Delete 3jah3.txt from linx (assuming you uploaded using this tool)

linx -d https://linx.li/3jah3.txt

Use uploaded url in a bash variable for further scripting

url=$(linx -s file.txt)

Authors

Andrei Marcu
http://andreim.net/

mutantmonkey
github.com/mutantmonkey