Skip to content

Latest commit

 

History

History
55 lines (43 loc) · 1.99 KB

README.md

File metadata and controls

55 lines (43 loc) · 1.99 KB

banner

Publish to PyPI ver lang status ver Downloads

transfer.sh

Transfer.sh command line program, Now file sharing from the command line.

Installation

One command installation

Python

run commands on terminal.

$ pip install -U transfer.sh

Have multipls versions of python?

$ python3.x -m pip install -U transfer.sh

Linux

AMD64

$ curl --silent "https://api.github.com/repos/MayankFawkes/transfer.sh/releases/latest" | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/' | { tag=($(< /dev/stdin)); sudo curl -L "https://github.com/MayankFawkes/transfer.sh/releases/download/$tag/transfer-linux-amd64" -o /usr/local/bin/transfer; sudo chmod +x /usr/local/bin/transfer;}

i386

$ curl --silent "https://api.github.com/repos/MayankFawkes/transfer.sh/releases/latest" | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/' | { tag=($(< /dev/stdin)); sudo curl -L "https://github.com/MayankFawkes/transfer.sh/releases/download/$tag/transfer-linux-i386" -o /usr/local/bin/transfer; sudo chmod +x /usr/local/bin/transfer;}

CLI

Command line help

Upload file

$ transfer upload file.txt

Remove file

$ transfer remove <uploaded file hash>

List uploaded files

$ transfer list --show