Advertisement
metalx1000

Android restore tar backups

Apr 7th, 2024
370
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. #restore
  2. adb shell "mkdir /sdcard/backups"
  3. adb push *.tar /sdcard/backups/
  4. adb shell
  5. su
  6. cd /sdcard/backups
  7. tar xvf *.tar
  8. find|sed 's/^.//g'|while read file;do cat .$file > ${file};done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement