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.