transfer.ryenguyen.dev: file sharing from the command line === Upload: $ curl -u user:pass --upload-file ./hello.txt https://transfer.ryenguyen.dev/hello.txt Upload with limits: $ curl -H "Max-Downloads: 1" -H "Max-Days: 5" --upload-file ./hello.txt https://transfer.ryenguyen.dev/hello.txt Download: $ curl https://transfer.ryenguyen.dev/FR7kp2izC6SbPWmq/hello.txt -o hello.txt Encrypt with gpg & upload: $ cat /tmp/hello.txt|gpg -ac -o-|curl -X PUT --upload-file "-" https://transfer.ryenguyen.dev/test.txt Download & decrypt with gpg: $ curl https://transfer.ryenguyen.dev/FR7kp2izC6SbPWmq/test.txt|gpg -o- > /tmp/hello.txt Upload multiple files: $ curl -i -F filedata=@/tmp/hello.txt -F filedata=@/tmp/hello2.txt https://transfer.ryenguyen.dev/ Shell function (.bashrc / .zshrc): transfer() { curl -n --progress-bar --upload-file "$1" "https://transfer.ryenguyen.dev/$(basename "$1")"; echo; }