Skip to content

Latest commit

 

History

History
58 lines (42 loc) · 895 Bytes

README.md

File metadata and controls

58 lines (42 loc) · 895 Bytes

MTPCmd

Media device (MTP - Media Transfer Protocol) command line interface

Note

This is proof of concept (POC) project for MTP command line

List devices

List connected MTP devices

mtpcmd list

Information

Information about connected MTP device

Example:

mtpcmd info

Directory listing

Listing of directory of connected MTP device

Example: List of Download directory of "internal shared storage"

mtpcmd dir "Internal shared storage/Download"

Copying files

Copy single file from/to connected MTP device

Copy file to device

mtpcmd put file.txt "Internal shared storage/Download/file.txt"

Copy file from device

mtpcmd get "Internal shared storage/Download/file.txt" file2.txt

Help

Show available verbs - commands

mtpcmd help

Detailed command help

mtpcmd help <verb>

License

MIT