Re: BUG: mirror creates locally directories that aren't supposed to be needed/files downloaded
On Monday 21 of December 2009, Alexander V. Lukyanov wrote: > On Sat, Dec 05, 2009 at 09:41:30PM +0100, Arkadiusz Miskiewicz wrote: > > 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. > > mirror --no-empty-dirs should skip those directories. btw. "help mirror" doesn't mention this option > > -- >Alexander. -- Arkadiusz MiĆkiewiczPLD/Linux Team arekm / maven.plhttp://ftp.pld-linux.org/
Re: BUG: mirror creates locally directories that aren't supposed to be needed/files downloaded
On Sat, Dec 05, 2009 at 09:41:30PM +0100, Arkadiusz Miskiewicz wrote: > 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. mirror --no-empty-dirs should skip those directories. -- Alexander.
Re: BUG: mirror creates locally directories that aren't supposed to be needed/files downloaded
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.