go-mtpx
November 1, 2022 ยท View on GitHub
macOS setup
xcode-select --install
Before running the tests:
- Open
tests/README.md - Follow the instructions to copy the
mtp-test-filesto phone
Install and setup libusb
brew install pkg-config
brew install libusb
Test go-mtpx
- Connect android device via usb and Choose File transfer
go test
Upgrade a package
# example:
go get github.com/ganeshrvel/go-mtpfs@<git-commit-hash>