Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.advocacy > #478842

Re: more gnuroot debian fun

From owl <owl@rooftop.invalid>
Newsgroups comp.os.linux.advocacy
Subject Re: more gnuroot debian fun
Date 2018-11-23 16:21 +0000
Organization O.W.L.
Message-ID <xj89gq9q.bquo3@rooftop.invalid> (permalink)
References <gb89aga.3iaou3g@rooftop.invalid> <650a807e-0d19-49f6-ab96-d6bcdac8e6ca@googlegroups.com>

Show all headers | View raw


Steve Carroll <fretwizzer@gmail.com> wrote:
> On Friday, November 23, 2018 at 8:54:52 AM UTC-7, owl wrote:
>> I had been using AndFTP (iirc JuiceSSH requires payment for scp) to copy
>> images from my phone to my laptop, and that got tiresome, what with
>> occasional authentication problems and having to navigate to the DCIM
>> directory and select images; so I installed ssh/scp into the gnuroot
>> debian installation on the phone and created a script called cpix.
>> Now it's just a matter of starting a terminal and typing:
>> 
>> ./cpix 112318*
>> 
>> to copy all photos taken today from my phone to my computer.
>> 
>> God, I love Linux :)
> 
> Plus you get some added security

Well, AndFTP was setup to use scp for transfer, so it was secure, but the
navigation/auth problems were a pain.  Having a cli scp gives much more
flexibility for scripting.  So I have a basic "scp" script which just does:

#!/bin/bash
scp ${1} anon@192.168.1.3:

and the "cpix" one to streamline image copies:

#!/bin/bash
scp /sdcard/DCIM/camera/${1} anon@192.168.1.3:

Back to comp.os.linux.advocacy | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

more gnuroot debian fun owl <owl@rooftop.invalid> - 2018-11-23 15:54 +0000
  Re: more gnuroot debian fun Steve Carroll <fretwizzer@gmail.com> - 2018-11-23 08:01 -0800
    Re: more gnuroot debian fun owl <owl@rooftop.invalid> - 2018-11-23 16:21 +0000
      Re: more gnuroot debian fun Steve Carroll <fretwizzer@gmail.com> - 2018-11-23 08:27 -0800
        Re: more gnuroot debian fun owl <owl@rooftop.invalid> - 2018-11-23 16:47 +0000
          Re: more gnuroot debian fun Steve Carroll <fretwizzer@gmail.com> - 2018-11-23 08:59 -0800
          Re: more gnuroot debian fun Steve Carroll <frelwizzen@gmail.com> - 2018-11-23 09:19 -0800
  Re: more gnuroot debian fun Melzzzzz <Melzzzzz@zzzzz.com> - 2018-11-23 17:17 +0000
    Re: more gnuroot debian fun Steve Carroll <frelwizzen@gmail.com> - 2018-11-23 09:34 -0800
    Re: more gnuroot debian fun owl <owl@rooftop.invalid> - 2018-11-23 18:31 +0000
      Re: more gnuroot debian fun Melzzzzz <Melzzzzz@zzzzz.com> - 2018-11-23 19:02 +0000
        Re: more gnuroot debian fun owl <owl@rooftop.invalid> - 2018-11-23 19:19 +0000
          Re: more gnuroot debian fun Melzzzzz <Melzzzzz@zzzzz.com> - 2018-11-23 19:24 +0000
            Re: more gnuroot debian fun owl <owl@rooftop.invalid> - 2018-11-23 19:35 +0000
              Re: more gnuroot debian fun Melzzzzz <Melzzzzz@zzzzz.com> - 2018-11-23 19:45 +0000
                Re: more gnuroot debian fun owl <owl@rooftop.invalid> - 2018-11-23 22:25 +0000
                Re: more gnuroot debian fun Melzzzzz <Melzzzzz@zzzzz.com> - 2018-11-23 22:28 +0000
                Re: more gnuroot debian fun owl <owl@rooftop.invalid> - 2018-11-23 22:42 +0000
                Re: more gnuroot debian fun Melzzzzz <Melzzzzz@zzzzz.com> - 2018-11-23 23:26 +0000
                Re: more gnuroot debian fun owl <owl@rooftop.invalid> - 2018-11-24 01:40 +0000
                Re: more gnuroot debian fun Steve Carroll <frelwizzen@gmail.com> - 2018-11-24 04:50 -0800
                Re: more gnuroot debian fun Steve Carroll <frelwizzen@gmail.com> - 2018-11-24 01:59 -0800
  Re: more gnuroot debian fun "F. Russell" <fr@random.info> - 2018-11-23 18:35 +0000
    Re: more gnuroot debian fun owl <owl@rooftop.invalid> - 2018-11-23 18:51 +0000

csiph-web