|
|
|
Clear questions and runnable code get the best and fastest answer |
|
| PerlMonks |
Re: tar from another serverby graff (Canon) |
| on Dec 06, 2002 at 04:44 UTC ( #217983=note: print w/ replies, xml ) | Need Help?? |
|
The following works for me. (I just have to answer ssh's "password:" prompt on my local keyboard, 'cuz I don't have those nifty ssh keys for the hosts I connect to from home, but that's no problem.) I decided to make a simple, general-purpose command line utility out of it, because I actually do this sort of transfer often enough myself to make it worthwhile (now I don't have to remember to put in all those parens, etc, on the command line). update: added more error checking and support for the "-l username" ssh option; also allow for "$src_path" to be empty (i.e., in login user's home directory).
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||