android-file-transfer-linux
android-file-transfer-linux copied to clipboard
No man pages
...or documentation on commands.
all PRs are welcomed! :heart:
to be honest, most of the options are pretty much straightforward, try --help
aft-mtp-cli --help
usage:
-h --help show this help
-v --verbose show debug output
-i --interactive force interactive mode
-b --batch batch command processing
-e --events allow event processing
-f --input-file use file to read input commands
-C --no-claim no usb interface claim
-R --reset-device reset usb device before connecting
-V --version show version information
It can parse and execute commands passed as arguments, e.g. "cp \"a\" \"b\"" "rm \"a\"
qt UI don't get any options
interactive == true when input is TTY, or you can force it with -i batch allows you to run cli tool without prompt in case you're parsing its input/output. claim interface is USB specific thing, OS-level exclusive locking of the interface. Some devices/OSes combination don't work with it well, so you may want to skip it. reset device is USB reset, normally it's destructive and may interfer with kernel/driver device state, so it's safer to disable it. events outputs different type of events starting with character '#', for scripting purposes as well.