lftp的get命令和mget命令有什么不一样?

上网、浏览、聊天、下载等
回复
crossie
帖子: 241
注册时间: 2008-05-25 20:35

lftp的get命令和mget命令有什么不一样?

#1

帖子 crossie » 2008-06-05 9:46

:?:
头像
solcomo
帖子: 2838
注册时间: 2007-04-25 13:12

#2

帖子 solcomo » 2008-06-05 9:53

代码: 全选

 get [-E] [-a] [-c] [-O base] rfile [-o lfile] ...

       Retrieve the remote file rfile and store it as the local file lfile.  If -o is omitted, the file is stored to local file named as base
       name of rfile. You can get multiple files by specifying multiple instances of rfile (and -o lfile). Does  not  expand  wildcards,  use
       mget for that.
            -c        continue, reget
            -E        delete source files after successful transfer
            -a        use ascii mode (binary is the default)
            -O <base> specifies base directory or URL where files should be placed

代码: 全选

 mget [-c] [-d] [-a] [-E] [-O base] files

       Gets selected files with expanded wildcards.

            -c        continue, reget.
            -d        create directories the same as file names and get
                      the files into them instead of current directory.
            -E        delete source files after successful transfer
            -a        use ascii mode (binary is the default)
            -O <base> specifies base directory or URL where files should be placed

♜♞♝♛♚♝♞♜
♟♟♟♟♟♟♟♟
♙♙♙♙♙♙♙♙
♖♘♗♕♔♗♘♖

☠☯⚔⚓☣☦☃☕
☹☻☪☭☬⚖⚛⚜
ℜℳℬ™ ℋℯℓ℘ ℳℭ
sƂɐʍ рǀɹoʍ əɥʇ oS
crossie
帖子: 241
注册时间: 2008-05-25 20:35

#3

帖子 crossie » 2008-06-05 10:00

solcomo 写了:

代码: 全选

 get [-E] [-a] [-c] [-O base] rfile [-o lfile] ...

       Retrieve the remote file rfile and store it as the local file lfile.  If -o is omitted, the file is stored to local file named as base
       name of rfile. You can get multiple files by specifying multiple instances of rfile (and -o lfile). Does  not  expand  wildcards,  use
       mget for that.
            -c        continue, reget
            -E        delete source files after successful transfer
            -a        use ascii mode (binary is the default)
            -O <base> specifies base directory or URL where files should be placed

代码: 全选

 mget [-c] [-d] [-a] [-E] [-O base] files

       Gets selected files with expanded wildcards.

            -c        continue, reget.
            -d        create directories the same as file names and get
                      the files into them instead of current directory.
            -E        delete source files after successful transfer
            -a        use ascii mode (binary is the default)
            -O <base> specifies base directory or URL where files should be placed

我这里help get没看到这么多解释。。。。
能不能解释一下最后那个大写的O是什么意思?
头像
solcomo
帖子: 2838
注册时间: 2007-04-25 13:12

#4

帖子 solcomo » 2008-06-05 10:04

man lftp就可以看见

-o指的是输出到
比如
get README -o debian.README


man里都有 Example
♜♞♝♛♚♝♞♜
♟♟♟♟♟♟♟♟
♙♙♙♙♙♙♙♙
♖♘♗♕♔♗♘♖

☠☯⚔⚓☣☦☃☕
☹☻☪☭☬⚖⚛⚜
ℜℳℬ™ ℋℯℓ℘ ℳℭ
sƂɐʍ рǀɹoʍ əɥʇ oS
crossie
帖子: 241
注册时间: 2008-05-25 20:35

#5

帖子 crossie » 2008-06-05 10:06

solcomo 写了:man lftp就可以看见

-o指的是输出到
比如
get README -o debian.README


man里都有 Example
那是小写o
我想知道的是大写O啊
头像
solcomo
帖子: 2838
注册时间: 2007-04-25 13:12

#6

帖子 solcomo » 2008-06-05 10:19

一样的
♜♞♝♛♚♝♞♜
♟♟♟♟♟♟♟♟
♙♙♙♙♙♙♙♙
♖♘♗♕♔♗♘♖

☠☯⚔⚓☣☦☃☕
☹☻☪☭☬⚖⚛⚜
ℜℳℬ™ ℋℯℓ℘ ℳℭ
sƂɐʍ рǀɹoʍ əɥʇ oS
crossie
帖子: 241
注册时间: 2008-05-25 20:35

#7

帖子 crossie » 2008-06-05 10:38

solcomo 写了:一样的

谢谢
回复