Android Media Importer
Claude Code plugin: move or copy media from a connected Android phone using user-defined mappings, MIME-based routing, optional date-folder + orientation-split layouts.
About This Project
Android-Media-Importer is a Claude Code plugin that transfers photos, videos, and audio from a USB-connected Android phone to the local filesystem. It communicates with the device through ADB, and users define source-to-destination mappings in a YAML configuration file generated by an interactive onboarding skill. Files are routed by MIME type rather than file extension, so formats such as HEIC, DNG, WEBP, AVIF, MOV, MKV, 3GP, opus, and m4a are sorted correctly by default.
Each mapping can be configured to use a flat destination or separate image and video subtrees, an optional date-stamped folder in several formats, and an optional portrait/landscape split determined from EXIF metadata and ffprobe rotation data. Mappings can operate in move or copy mode. In move mode, a file is deleted from the phone only after the local copy's size matches the source size reported by adb shell stat, and any mismatch is reported with the phone copy preserved. The importer is incremental by default, processing only files newer than the most recent file already present in the destination, and it supports a dry-run preview.
The project is aimed at users who regularly back up Android camera rolls to a desktop or home server and want a repeatable, configurable import process rather than manual file management. It relies on standard command-line tools including adb, exiftool, ffprobe, and file, and is released under the MIT license.