[Cialug] scp w/full path

Kenneth Younger kyounger at gmail.com
Mon Mar 3 10:39:35 CST 2014


If you set up ssh properly with keys (and/or use connection multiplexing),
then you can get tab completion for the remote path.

My lazyweb question: can you do the same with rsync?


On Mon, Mar 3, 2014 at 10:27 AM, L. V. Lammert <lvl at omnitec.net> wrote:

> On Mon, 3 Mar 2014, Barry Von Ahsen wrote:
>
> > I don't think he wants to type the path on both sides
> >
> > my lazy solution usually is:
> >
> > cd /to/the/path
> > pwd (copy output)
> > scp user at host:<paste> .
> >
> Actually, that's WAY more than 'lazy' - guess we have different
> difinitions <g>!
>
> Seriously, the more I think about it, it may just be using $PWD but I have
> not had time to play with it - billing has priority today.
>
>         Lee
> _______________________________________________
> Cialug mailing list
> Cialug at cialug.org
> http://cialug.org/mailman/listinfo/cialug
>
> --
> Kenneth Younger III
> Founder, Sheer Focus Inc.
> e: kenny at sheerfocus.com
> p: (515) 367-0001
> t: @kenny <http://twitter.com/kenny>
> <http://cialug.org/mailman/listinfo/cialug>
>


More information about the Cialug mailing list