On Wed, Jul 28, 2004 at 02:59:23PM +0200, Tomasz Bedkowski wrote: > >in lftp 3.0.x you can write: > > mirror --newer-than "now-3days" > > it will make me a whole tree of directories anyway, which i dont need... > any other solution?
For now, lftp cannot determine beforehand if the directory will be empty.
You can use:
find /dir -type d -empty -depth -exec rmdir {} \;
to remove empty dirs.
--
Alexander.
