Skip to content

Instantly share code, notes, and snippets.

@TravisMullen
Created May 4, 2018 20:05
Show Gist options
  • Save TravisMullen/b94da81633c56c42d8975874a5539ddd to your computer and use it in GitHub Desktop.
Save TravisMullen/b94da81633c56c42d8975874a5539ddd to your computer and use it in GitHub Desktop.
Get PIVX wallet from USB (Linux)
#!/bin/sh -e
sudo mkdir -p /mnt/usb
sudo mount /dev/sda1 /mnt/usb
cd /mnt/usb
# find "pivx/wallet.dat"
mkdir -p $HOME/.pivx
sudo cp -f *pivx/*wallet.dat $HOME/.pivx/wallet.dat
sudo umount /dev/sda1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment