lftp icon indicating copy to clipboard operation
lftp copied to clipboard

Empty folders are being created when all files are excluded

Open thomric2 opened this issue 5 years ago • 1 comments

mirror --newer-than=now-30days --ignore-size --only-newer --size-range=0-200M -x '^\.' -x '.*~' --script="./myScript.sh" --no-empty-dirs

This will result in empty folders being created. I'm guessing because of all the exclusions there are now no files to pull however because there are files on the remote side the folder is being created locally.

This impacts both mirror and mirror -R.

thomric2 avatar Mar 03 '20 17:03 thomric2

I cannot reproduce the problem. Can you please verify with the latest lftp version?

lavv17 avatar Jun 05 '20 10:06 lavv17