Skip to content

Instantly share code, notes, and snippets.

@koalaman
Created November 15, 2013 21:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save koalaman/7492050 to your computer and use it in GitHub Desktop.
Save koalaman/7492050 to your computer and use it in GitHub Desktop.
echo "hello world" > foo
7z a file.7z -ppa\$\$w\*rd foo
rm foo
IFS= read -r -p "Password: " password
7z x file.7z -p"$password"
cat foo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment