From owner-freebsd-questions@freebsd.org Sun Jul 14 18:55:49 2019 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 64789A35E2 for ; Sun, 14 Jul 2019 18:55:49 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B7B0F87BFB for ; Sun, 14 Jul 2019 18:55:48 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from [80.187.83.47] (helo=localhost.unixarea.de) by ms-10.1blu.de with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.86_2) (envelope-from ) id 1hmjez-0008Dn-53; Sun, 14 Jul 2019 20:55:45 +0200 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.unixarea.de (8.15.2/8.14.9) with ESMTPS id x6EIti00002793 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Sun, 14 Jul 2019 20:55:44 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.15.2/8.14.9/Submit) id x6EIthGG002792; Sun, 14 Jul 2019 20:55:43 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Sun, 14 Jul 2019 20:55:43 +0200 From: Matthias Apitz To: Polytropon , "freebsd-questions@freebsd.org" Subject: Re: How to explore Android device files under FreeBSD ? Message-ID: <20190714185543.GA2740@c720-r342378> Reply-To: Matthias Apitz Mail-Followup-To: Polytropon , "freebsd-questions@freebsd.org" References: <13b9dc8e-f489-afaf-4b2c-e08277e2ecbd@gmail.com> <20190714194416.6948d301.freebsd@edvax.de> <20190714182245.GA2405@c720-r342378> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20190714182245.GA2405@c720-r342378> X-Operating-System: FreeBSD 13.0-CURRENT r342378 (amd64) X-message-flag: Mails containing HTML will not be read! Please send only plain text. User-Agent: Mutt/1.11.1 (2018-12-01) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 80.187.83.47 X-Rspamd-Queue-Id: B7B0F87BFB X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-3.58 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_XOIP(0.00)[]; TO_DN_SOME(0.00)[]; HAS_REPLYTO(0.00)[guru@unixarea.de]; IP_SCORE(-2.95)[ip: (-8.63), ipnet: 178.254.0.0/19(-3.48), asn: 42730(-2.61), country: DE(-0.01)]; HAS_XAW(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; MX_GOOD(-0.01)[cached: mail.unixarea.de]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.93)[-0.927,0]; RCVD_IN_DNSWL_LOW(-0.10)[101.4.254.178.list.dnswl.org : 127.0.5.1]; RECEIVED_SPAMHAUS_PBL(0.00)[47.83.187.80.zen.spamhaus.org : 127.0.0.10]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:42730, ipnet:178.254.0.0/19, country:DE]; SUBJECT_ENDS_QUESTION(1.00)[]; FROM_EQ_ENVFROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[unixarea.de]; AUTH_NA(1.00)[]; MIME_TRACE(0.00)[0:+]; TO_MATCH_ENVRCPT_SOME(0.00)[]; R_SPF_NA(0.00)[]; MID_RHS_NOT_FQDN(0.50)[]; RCVD_TLS_LAST(0.00)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Jul 2019 18:55:49 -0000 El día domingo, julio 14, 2019 a las 08:22:45p. m. +0200, Matthias Apitz escribió: > I slightly disagree. A Linux based mobile device should behave like > this. It should present itself via SSH and allow access to your photos > with scp or rsync+ssh, and if you need some GUI, use something of KDE or > Gnome which works on top of SSH to present the dirs and files in a > Norton Commander style. My Ubuntu mobile device works like this (and I > do use rsync and ssh/scp all days). The Android based mobiles *could* > behave the same way, but Google does not want this and want that the > user uses something else, for example some cloud. The upcoming Puri.sm > L5 will also be a normal Linux system. I'm awaiting mine in Q3 of this > year. I write my diary in my FreeBSD laptop and when I'm done with the day actual, like now, I do rsync the HTML file and pictures to my phone to have it there in a browser as well: $ ./rsyncBQ.sh + cd /home/guru/diario2019 + rsync -rav -c --no-owner diario.html enanitos imagenes phablet@172.20.10.3:/media/phablet/6464-6631/diario2019 Enter passphrase for key '/home/guru/.ssh/id_rsa': sending incremental file list diario.html enanitos/ enanitos/download_257119696_372401.jpg enanitos/download_263708495_67069.jpg enanitos/image20180922_154043059.jpg imagenes/ imagenes/Anzeigen_2019-27___Unsere_Zeit.pdf imagenes/download_257119696_372401.jpg imagenes/download_263708495_67069.jpg imagenes/image20180922_154043059.jpg sent 11,657,646 bytes received 699 bytes 337,923.04 bytes/sec total size is 63,508,815 speedup is 5.45 Nothing magic, only UNIX. The connection was done via Wifi through the AP both devices are connected to, the FreeBSD laptop and the Ubuntu phone. matthias -- Matthias Apitz, ✉ guru@unixarea.de, http://www.unixarea.de/ +49-176-38902045 Public GnuPG key: http://www.unixarea.de/key.pub May, 9: Спаси́бо освободители! Thank you very much, Russian liberators!