Re: mirror exclude (was: lftp - mirror: very slow)
On Tue, Mar 13, 2001 at 09:14:03PM +0100, Cristian Ionescu-Idbohrn wrote: Now it's working as advertised. Some examples in strategic places on the man page would benefit the rest of the world, if I'm alowed to have that wish. You are welcome to improve the man page. Another thing I noticed is that unwanted directories/files which were already there (in the mirrored directory tree) did not go away. lftp does not touch excluded local files. Maybe there should be separated options --exclude-remote and --exclude-local, currently they are the same. -- Alexander.
Re: mirror exclude (was: lftp - mirror: very slow)
On Mon, Mar 12, 2001 at 04:28:11PM +0100, Cristian Ionescu-Idbohrn wrote: #!/bin/sh open hftp://ftp.sunet.se mirror -v -c -e -x \ "(mail-archives|old|snapshots)/.*" \ pub/lang/cygwin /home/cii/cygwin/mirror/cygwin I can't seem to be able to skip those directories :( What's wrong? How is the matching done? Try to leave out the final /.*, put $ (it means EOL) there instead. -- Alexander. | http://www.yars.free.net/~lav/
Re: mirror exclude (was: lftp - mirror: very slow)
Please CC me, as I'm not subscribed to the list. On Mon, 12 Mar 2001, Alexander V. Lukyanov wrote: On Mon, Mar 12, 2001 at 04:28:11PM +0100, Cristian Ionescu-Idbohrn wrote: #!/bin/sh open hftp://ftp.sunet.se mirror -v -c -e -x \ "(mail-archives|old|snapshots)/.*" \ pub/lang/cygwin /home/cii/cygwin/mirror/cygwin I can't seem to be able to skip those directories :( What's wrong? How is the matching done? Try to leave out the final /.*, put $ (it means EOL) there instead. Tried as suggested: open hftp://ftp.sunet.se mirror -v -c -e -x \ "(mail-archives|old|snapshots)$" \ pub/lang/cygwin /home/cii/cygwin/mirror/cygwin but no joy :( I'd like to see what's going on. What debug value should I use? Cheers, Cristian