bug-wget
[Top][All Lists]
Advanced

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

Re: [Bug-wget] wget -R * inconsistent


From: Micah Cowan
Subject: Re: [Bug-wget] wget -R * inconsistent
Date: Mon, 14 May 2012 15:29:00 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1

The behavior you described, is because you haven't properly quoted the
*. The shell will interpret * first, and if there is even a single file
in the current directory, the shell will expand to that file (and any
others), BEFORE it calls wget. Make sure to quote the * properly (say,
-R "*", instead of -R *)

-mjc

On 05/14/2012 02:18 PM, Pierre Fortin wrote:
> Hi,
> 
> Trying to use wget to retrieve just .listing files...  if my local
> directory is empty, wget honors "-R *"; but when previous directory
> structure matching remote (where only .listing files) exists, wget ignores
> the reject directive.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]