Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
shell script for app backup
#!/bin/bash
adb backup -f /tmp/data.ab -noapk $1
dd if=/tmp/data.ab bs=1 skip=24 | /usr/local/Cellar/openssl/1.0.1e/bin/openssl zlib -d | tar -xvf -
rm /tmp/data.ab
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.