How to explore Android device files under FreeBSD ?

Lena at lena.kiev.ua Lena at lena.kiev.ua
Sun Jul 14 13:00:28 UTC 2019


> Somebody has asked me for some images on my Android phone.
> So I first need to download those files from the phone to my FreeBSD box 

pkg install android-file-transfer

In /etc/devfs.rules allow your usual user access to USB:

[localrules=10]
add path 'ugen*' mode 0660 group yourgroup
add path 'usb?*' mode 0660 group yourgroup
add path 'usb/*' mode 0660 group yourgroup

As that user:
aft-mtp-cli "cd DCIM" "get Camera"

That creates directory 'Camera' and downloads photos into it.



More information about the freebsd-questions mailing list