Created
August 21, 2017 03:28
-
-
Save codeprimate/ea8e5e9b011d207420d6fd7e4efdf68c to your computer and use it in GitHub Desktop.
Easy File Transfer from Heroku
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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