I\'m using adb to sync music on an android phone. Essentially, I rm the existing music directory and push replacement music files.
I\'d like to be able to use adb to
The rescan apps use a media mount intent to kick off the media scanner. You can use am broadcast to send the same intent.
am broadcast
The command is:
adb shell am broadcast -a android.intent.action.MEDIA_MOUNTED -d file:///sdcard