From owner-freebsd-questions@FreeBSD.ORG Sat Jan 10 14:50:09 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AA4F416A4D1 for ; Sat, 10 Jan 2004 14:50:09 -0800 (PST) Received: from fw.farid-hajji.net (fw.farid-hajji.net [213.146.115.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4162D43D5E for ; Sat, 10 Jan 2004 14:49:57 -0800 (PST) (envelope-from cpghost@cordula.ws) Received: from fw.farid-hajji.net (localhost [127.0.0.1]) by fw.farid-hajji.net (8.12.10/8.12.10) with ESMTP id i0AMnDal092110; Sat, 10 Jan 2004 23:49:14 +0100 (CET) (envelope-from cpghost@cordula.ws) Date: Sat, 10 Jan 2004 23:49:13 +0100 (CET) Message-Id: <200401102249.i0AMnDal092110@fw.farid-hajji.net> From: "Cordula's Web" To: mnslinky@yahoo.com In-reply-to: <20040110224342.23710.qmail@web13910.mail.yahoo.com> (message from Minnesota Slinky on Sat, 10 Jan 2004 14:43:42 -0800 (PST)) X-Mailer: Emacs-21.3.1/FreeBSD-4.9-STABLE References: <20040110224342.23710.qmail@web13910.mail.yahoo.com> cc: freebsd-questions@freebsd.org Subject: Re: Download contents of http directory? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: cpghost@cordula.ws List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Jan 2004 22:50:09 -0000 > How can I download the entire contents of a directory > on a webserver? I can see them in index mode, but > it's a list of about 2,000 jpg files for a reunion. > How can I download everything there to one directory? With /usr/ports/ftp/wget: wget -r -x -v -np -k -np http://www.example.com/path/to/dir Without -x, files will be saved in the current directory, with -x in www.example.com/path/to/dir -np (no parent) is important, if you don't want directories above /path/to/dir -- Cordula's Web. http://www.cordula.ws/