Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Jan 2000 13:20:00 +0100 (CET)
From:      Oliver Fromme <olli@dorifer.heim3.tu-clausthal.de>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Re: ftp to transfer whole directory
Message-ID:  <200001111220.NAA22938@dorifer.heim3.tu-clausthal.de>
In-Reply-To: <85f3ct$21la$1@atlantis.rz.tu-clausthal.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Peter Kok <cckok00@stlinux.ouhk.edu.hk> wrote in list.freebsd-questions:
 > How do I use ftp to transfer the whole directory?
 > I man ftp but didn't find an answer!

Most ftp servers support getting a whole directory as tarfile
when you simply append ".tar" to the directory name:

   get directory.tar

You can even "untar" the file locally in one step:

   get directory.tar "|tar xf -


Regards
   Oliver

-- 
Oliver Fromme, Leibnizstr. 18/61, 38678 Clausthal, Germany
(Info: finger userinfo:olli@dorifer.heim3.tu-clausthal.de)

"In jedem Stück Kohle wartet ein Diamant auf seine Geburt"
                                         (Terry Pratchett)


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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