Skip to content

Instantly share code, notes, and snippets.

@codeprimate
Created August 21, 2017 03:28
Show Gist options
  • Save codeprimate/ea8e5e9b011d207420d6fd7e4efdf68c to your computer and use it in GitHub Desktop.
Save codeprimate/ea8e5e9b011d207420d6fd7e4efdf68c to your computer and use it in GitHub Desktop.
Easy File Transfer from Heroku
# Remote
cat <file_name> | gpg -ac -o- | curl -X PUT -T "-" https://transfer.sh/<file_name>.gpg
# Local
curl https://transfer.sh/<hash>/<file_name>.gpg | gpg -o- > <file_name>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment