lftp
lftp copied to clipboard
Empty folders are being created when all files are excluded
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.
I cannot reproduce the problem. Can you please verify with the latest lftp version?