2

我不知道如何使用 lftp 的镜像命令下载隐藏的点目录

我现在只能用 get 命令获取一个点文件,然后用 ls -a 命令列出隐藏文件。

这个可以配置吗?

4

2 回答 2

4

lftp -u 用户名,密码 hostname.com -e "set ftp:list-options -a"

镜子

于 2013-07-18T19:40:05.357 回答
1

从手册:

http://linux.die.net/man/1/lftp

   ftp:list-options (string)
          sets options which are always appended to LIST command. 
          It can be useful to set this to `-a' if server does not
          show dot (hidden) files by default.  Default is empty.
于 2013-02-14T13:04:43.267 回答