downloading entire directories

DerDrache derdrache at gmail.com
Mon May 23 13:17:42 PDT 2005


On 5/21/05, Tony Shadwick <tshadwick at goinet.com> wrote:
> scp -pr user at 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.
> >
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
> 
At the risk of redundently sounding redundent, I think wget might be
up your alley.  Makes this a very simple operation.

wget -r ftp://user:password@host.com/path/to/folder

-- 
DerDrache


More information about the freebsd-questions mailing list