Skip to content

Commit 10110db

Browse files
authored
Merge pull request #133 from klenze/internal_storage_filename_fix
removed wildcard from adb push for restoring internal storage
2 parents d570a14 + d785282 commit 10110db

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

functions/restore_func.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ function restore_func() {
108108

109109
# Restore internal storage
110110
cecho "Restoring internal storage."
111-
adb push ./backup-tmp/Storage/* /storage/emulated/0
111+
adb push ./backup-tmp/Storage/ /storage/emulated/0/
112112

113113
# Restore contacts
114114
cecho "Pushing backed up contacts to device."
@@ -135,4 +135,4 @@ function restore_func() {
135135
remove_backup_tmp
136136

137137
cecho "Data restored!"
138-
}
138+
}

0 commit comments

Comments
 (0)