lavv17 / lftp

sophisticated command line file transfer program (ftp, http, sftp, fish, torrent)
http://lftp.yar.ru
GNU General Public License v3.0
1.1k stars 161 forks source link

--Remove-source-files removes remote directories as well. #665

Open pnunn opened 2 years ago

pnunn commented 2 years ago

Is there a way to use

lftp ftp://ftp.server.com --user USR --password blah -e "mirror --Remove-source-files --verbose; bye"

to download the files, remove them, but leave the directories in place?

It is working, but I suspect the end user is going to get grumpy about having to re-create all of the directories again.

Peter.