[Cialug] scp w/full path
L. V. Lammert
lvl at omnitec.net
Mon Mar 3 10:27:24 CST 2014
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
More information about the Cialug
mailing list