I am new to android sorry if i sound like a nub but . I want to copy a tar file inside the device through adb . After that i would like to extract it inside the device through tar command line tool. Is it possible ? If yes how do i install tar ?
zsh: command not found: tar
Use
adb push 'pathOnDesktop' 'pathOnDevice'
For copying files already on the device to a different location use
adb shell cp source destination
tar utility is bundled with adb
Do to see available commands and arguments with tar
adb shell tar --help
and then
tar –xvzf filename
to extract the zipped files.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.