lftp是centos自带的,如果没有,可以用yum install lftp
[root@vps ~]# lftp
lftp :~> mirror -R /web/blog
这样就可以备份了,具体参数,GOOGLE吧
[root@vps ~]# lftp --help
Usage: lftp [OPTS]
`lftp' is the first command executed by lftp after rc files
-f execute commands from the file and exit
-c execute the commands and exit
--help print this help and exit
--version print lftp version and exit
Other options are the same as in `open' command
-e execute the command just after selecting
-u [,] use the user/password for authentication
-p use the port for connection
host name, URL or bookmark name
阅读(1861) | 评论(0) | 转发(0) |