Skip to content

Instantly share code, notes, and snippets.

@SkaTeMasTer
Created October 23, 2016 20:34
Show Gist options
  • Save SkaTeMasTer/42100a7b380f2c41531e0709b87f0ee7 to your computer and use it in GitHub Desktop.
Save SkaTeMasTer/42100a7b380f2c41531e0709b87f0ee7 to your computer and use it in GitHub Desktop.
Getting keys from old Bitcoin-qt forks.
#!/bin/bash
echo "Enter directory with all the wallet *.dat files live:"
read walletdir
echo "Enter passphrases for all the encrypted wallets in directory:"
read passphrase
for i in $walletdir/*.dat; do
pywallet.py --dumpwallet --datadir=$walletdir --wallet=$i --passphrase=$passphrase
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment