Title: How can I push multiple files using ADB?
Tags: adb
Question: I had pulled the whole /data/ directory onto %USERPROFILE%\Desktop\DATA, and now would like to put it back in. How would I push all the files in \DATA to /data/ on my phone? I certainly could do it one at a time, but that is very slow.
Wildcards do not work, such as:
adb push * /data/

Here is the accepted answer: To push all the files back in /data/ just use:
adb push %USERPROFILE%\Desktop\DATA /data/
This will push all the files in the %USERPROFILE%\Desktop\DATA folder in the destination specified.
Comment for this answer: You forgot dot after DATA, it should be DATA\.


{'source': 'StackExchangeDataset', 'subset': 'stackoverflow.com', 'metadata': {'AnswerCount': 1, 'CommentCount': 0, 'ContentLicense': 'CC BY-SA 3.0', 'CreationDate': '2013:00:11/19/13', 'FavoriteCount': None, 'PostTypeId': 1, 'Tags': '<adb>', 'Title': 'How can I push multiple files using ADB?', 'ViewCount': 7599, 'id': 20083279, 'user_AboutMe': None, 'user_AccountId': None, 'user_DisplayName': None, 'user_Reputation': None, 'user_Views': None, 'user_id': None}}