Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 May 2005 22:44:11 -0500 (CDT)
From:      Tony Shadwick <tshadwick@goinet.com>
To:        Francisco Reyes <lists@natserv.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: downloading entire directories
Message-ID:  <20050521224321.A47072@mail.goinet.com>
In-Reply-To: <20050521133758.T48232@zoraida.natserv.net>
References:  <c04ca341050520141040bd0c27@mail.gmail.com> <20050521133758.T48232@zoraida.natserv.net>

next in thread | previous in thread | raw e-mail | index | archive | help
scp -pr user@remote_host:/path/of/dir/you/want/ /path/you/want/it/stored

Tony

On Sat, 21 May 2005, Francisco Reyes wrote:

> On Fri, 20 May 2005, Tony Shadwick wrote:
>
>> There are two ways you could do this.  The first is like so:
>
> I believe there may be a third way.
> Have not done it in a while, but some FTP servers allow you to specify a tar 
> file from a directory.
>
> To be honest I don't recall syntax, but it was something like "get 
> dirname.tar" and the FTP server would know to prepare a tar of the entire 
> directory. Don't know which server(s) suppor(ed) this feature though.
>
> Long run something like rsync or unison are better options though.
> Although I think scp can download multiple files, but I don't know if it 
> recurses.
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050521224321.A47072>