MTP Tools
A collection of tools for working with MTP (Media Transfer Protocol) devices on macOS, primarily developed for use with the Supernote e-ink tablet.
Projects
- swift-mtp: Swift wrapper around libmtp. Provides synchronous and async APIs for device discovery, file listing, upload, download, rename, move, and delete.
- mtpx: Command-line tool for MTP file transfers, built on swift-mtp.
- mtp.el: Emacs package to access MTP devices via Tramp. Browse, download, upload, rename, and delete files from within Emacs.
- mtp-app (WIP): macOS desktop application for MTP device management, built on swift-mtp.
Reference
- libmtp: The underlying C library for MTP device communication.
Posts on the topic
I want to get books on my Supernote and notes off it, so in my desperation I began to write scripts and make tools to help.
Emacs Complete: Feedback Loops in Emacs, Feedback Loops in Computing
If it is representable as text, it can be moved into Emacs. And if Emacs renders as text, it can be moved into other processes to interpret the result, like snapshot tests, e.g. for automated regression testing. The loop is fully closed.