Skip to content

Instantly share code, notes, and snippets.

@wmbest2
Created October 25, 2013 02:00
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 wmbest2/7148382 to your computer and use it in GitHub Desktop.
Save wmbest2/7148382 to your computer and use it in GitHub Desktop.
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