简体   繁体   中英

how to download hidden dot-directories with lftp's mirror command

I don't know how to download hidden dot-directories with lftp's mirror command

I just can get a dot-file with get command, and list the hide files with ls -a command for now.

Can this be configured?

lftp -u username,password hostname.com -e "set ftp:list-options -a"

mirror

From the manual:

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM