Skip to content

Instantly share code, notes, and snippets.

@sroze
Last active December 15, 2017 17:16
Show Gist options
  • Save sroze/e825b2b3cf61c3487bc4b57bb31309e5 to your computer and use it in GitHub Desktop.
Save sroze/e825b2b3cf61c3487bc4b57bb31309e5 to your computer and use it in GitHub Desktop.
Share files with transfer.sh (encrypted)
curl https://transfer.sh/<unique-string>/database.sql | gpg -o- > database.sql
cat database.sql | gpg -ac -o- | curl -X PUT --upload-file "-" https://transfer.sh/database.sql
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment