On Sat, 5 Dec 2009, Arkadiusz Miskiewicz wrote:
remote server contains
/somedir/ble.txt
/otherdir/crap.txt
/another/ble.txt
mirror -c -i '.*ble.*'
creates locally all three dirs which doesn't make sense. I would consider this
to be a bug. IMO only somedir and anotherdir should be created as only these
two contain files matching regexp.
lftp 4.0.4
--
Arkadiusz Mi?kiewiczPLD/Linux Team
arekm / maven.plhttp://ftp.pld-linux.org/
I have seen this as well, it should only create a directory if the files
it is downloading matches the regexp.
Instead, when you mirror and use an include regexp for '^.*txt$' for
example it will create a directory locally for all of the the directories
it traverses, rather than just mirroring the ones with actual text files
inside them.
Justin.