Skip to content

Commit

Permalink
Flag D implies d; M/O imply e
Browse files Browse the repository at this point in the history
  • Loading branch information
VR-25 committed Jun 6, 2022
1 parent d898768 commit 5b268d9
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions tarb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -467,21 +467,21 @@ Flags
d data (user and user_de)
D exclude device encrypted data (data_de, from /data/user_de/)
D exclude device encrypted data (data_de, from /data/user_de/); implies "d"
e external data (/sdcard/Android/*/\$pkg/)
l list backups with additional info
m backup/restore Magisk data as well (/data/adb/)
M exclude Android/media/
M exclude Android/media/; implies "e"
n with -r: restore only apps that are not already installed (can be filtered with regex); with -b: backup only new and updated apps
o optimize apps after backup/restore (bg-dexopt-job)
O exclude Android/obb/
O exclude Android/obb/; implies "e"
s backup/restore generic system settings
Expand Down Expand Up @@ -983,6 +983,10 @@ fi
! match "${2-}" "*/*" || FLAGS=c$FLAGS
[ -n "$FLAGS" ] || FLAGS=ad

! flag D || FLAGS=d$FLAGS
! flag M || FLAGS=e$FLAGS
! flag O || FLAGS=e$FLAGS

# encryption
: > $PASSF
ENCRYPT=false
Expand Down

0 comments on commit 5b268d9

Please sign in to comment.