Media device (MTP - Media Transfer Protocol) command line interface
Note
This is proof of concept (POC) project for MTP command line
List connected MTP devices
mtpcmd list
Information about connected MTP device
Example:
mtpcmd info
Listing of directory of connected MTP device
Example: List of Download directory of "internal shared storage"
mtpcmd dir "Internal shared storage/Download"
Copy single file from/to connected MTP device
mtpcmd put file.txt "Internal shared storage/Download/file.txt"
mtpcmd get "Internal shared storage/Download/file.txt" file2.txt
Show available verbs - commands
mtpcmd help
mtpcmd help <verb>