adb-sync | synchronize files between a PC and an Android device | Android library
kandi X-RAY | adb-sync Summary
kandi X-RAY | adb-sync Summary
adb-sync is a tool to synchronize files between a PC and an Android device using the ADB (Android Debug Bridge).
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of adb-sync
adb-sync Key Features
adb-sync Examples and Code Snippets
Community Discussions
Trending Discussions on adb-sync
QUESTION
I'm playing around with syncing files from my laptop to my SD card on the phone using adb-sync
.
adb-sync
reports successfully pushing the files to the destination.
Navigating to /storage/9016-4EF8/Music
in adb shell
, the new files are listed, right after the following message:
ls: ./.android_secure: Permission denied
Yet the new files don't appear in my file explorer on the laptop. Additionally, they are not seen by my music player.
adb shell
(different project - see comment) otherwise lists the contents of the SD card perfectly, AFAICT. It's only the adb-sync
transfers that incorrectly show up as being present.
Perhaps this is related, but adb shell
also reports success when creating new files. These files also do not appear in my file explorer (Dolphin). Creating a new file in Dolphin works fine and is correctly listed in adb shell
!
So I believe they weren't actually transferred. Or they were transferred somewhere strange in internal memory. Where might they actually be?
...ANSWER
Answered 2018-Jul-30 at 01:07I've had a little time to clarify my thinking about this. Actually adb-sync
is not necessary to this discussion. The problem is actually that filesystem operations within the adb
shell are not reflected in the view from my file manager, Dolphin. So I launched the phone's file explorer and, voila, there's the changes!
So apparently this is a problem related to the much-decried MTP protocol. I'm happy to leave it at that unless someone else has something to add.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install adb-sync
You can use adb-sync like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page