Skip to content

Instantly share code, notes, and snippets.

@philly-mac
Created December 6, 2011 16:47
Show Gist options
  • Save philly-mac/1438906 to your computer and use it in GitHub Desktop.
Save philly-mac/1438906 to your computer and use it in GitHub Desktop.
tar encrypt and spilt a file
# Encrypt and split
tar cj file.txt | openssl des3 -salt -k password | split -b 100m -d - 'test-encrypt'
# Unencrypt
cat file.txt | openssl des3 -d -k password | tar xjf -
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment