Skip to content
/ MTPCmd Public

Media device command line interface (copy file to/from device) - PoC project

License

Notifications You must be signed in to change notification settings

tkouba/MTPCmd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Media device command line interface (copy file to/from device) - PoC project

Topics

Resources

License

Stars

Watchers

Forks

Languages