[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: File transfer using ssh



On Thu, Aug 23, 2001 at 08:18:58AM -1000, Joseph Dane wrote:
> >>>>> "Alexander" == Alexander List <alex@babenberg.vc-graz.ac.at> writes:
> 
>  Alexander> You might also consider the tip posted before to use rsync
>  Alexander> (rsync -e ssh) to transfer entire directory structures,
> 
> or, since ssh will read from stdin, you can alter the old tar|tar
> trick to copy a directory tree:
> 
>  here$ cd srcdir
>  here$ tar cf - . | ssh there 'cd dstdir; tar xf -'

or even 

  here$ tar cf - . | ssh there tar xCf dstdir -

-- 
Nathan Norman - Staff Engineer | A good plan today is better
Micromuse Ltd.                 | than a perfect plan tomorrow.
mailto:nnorman@micromuse.com   |   -- Patton

Attachment: pgpH9ycwd3QQc.pgp
Description: PGP signature


Reply to: