- #!/bin/bash
- function receiving(){
- read -p "Receiving partition $1"
- }
- DATE=`date +%F`
- mkdir $DATE
- cd $DATE
- receiving 1
- nc -l 31337|pv|dd of=mmcblk0p1.img
- echo
- echo "Skipping partition 2"
- echo
- receiving 3
- nc -l 31337|pv|dd of=mmcblk0p3.img
- echo
- receiving 4
- nc -l 31337|pv|dd of=mmcblk0p4.img
- echo
- echo "Receiving MD5s"
- nc -l 31337 > md5s.md5
- echo
- echo "Checking MD5s"
- /cygdrive/c/Program\ Files\ \(x86\)/cfv/cfv.exe --progress=yes
- echo "Finished"
Kindle Backup Script Part 2
Posted by Phoenix on Mon 13th May 2013 04:52
raw | new post
modification of post by Phoenix (view diff)
Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.