Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Jul 2019 16:00:14 +0300
From:      Lena@lena.kiev.ua
To:        freebsd-questions@freebsd.org
Subject:   Re: How to explore Android device files under FreeBSD ?
Message-ID:  <20190714130014.GG787@lena.kiev>
In-Reply-To: <AM0PR03MB45946F28AAF9A2F51F97A589F6CD0@AM0PR03MB4594.eurprd03.prod.outlook.com>
References:  <mailman.83.1563105601.71453.freebsd-questions@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190714130014.GG787>