by andy_ppp · 12y ago · 0 comments
brew install gpg
gpg --gen-key
gpg -ac < file.unencrypted | curl http://transfer.sh/file.encrypted -T -
To decrypt, take the returned URL: curl https://transfer.sh/1nKXr/file.encrypted | gpg -ad
Someone can probably improve this! transfer file.txt | pbcopy
to get the link copied to your clipboard! transfer file.txt | xclip
link is copied to your clipboard.