rz sz上传下载参数

1.在使用中下载和上传很慢还会中段可以使用

rz -be xxx

2.上传一些压缩包文件时,出现中断,是因为解析了里面的内容可以使用

rz -ye xxx

下面是rz 命令使用方法 详细的可以man 一下

           The meanings of the available options are:

   --++,, ----aappppeenndd
          append received data to an existing file (ZMODEM, ASCII only).
   --aa,, ----aasscciiii
          Convert  files to Unix conventions by stripping carriage returns
          and all characters beginning with the first Control Z (CP/M  end
          of file).
   --bb,, ----bbiinnaarryy
          Binary (tell it like it is) file transfer override.
   --BB NNUUMMBBEERR,, ----bbuuffssiizzee NNUUMMBBEERR
          Buffer  NNUUMMBBEERR  bytes before writing to disk. Default ist 32768,
          which should be enough for most situations. If you have  a  slow
          machine  or  a  bad disk interface or suffer from other hardware
          problems you might want to increase the buffersize.  --11 or  aauuttoo
          use  a  buffer large enough to buffer the whole file. Be careful
          with this options - things normally get worse,  not  better,  if
          the machine starts to swap.
   --cc,, ----wwiitthh--ccrrcc
          XMODEM  only.  Use  16  bit CRC (normally a one byte checksum is
          used).
   --CC,, ----aallllooww--rreemmoottee--ccoommmmaannddss
          allow remote command execution ( iinnsseeccuurree  ).  This  allows  the
          sender  to  execute  an  arbitrary  command through ssyysstteemm () or
          eexxeeccll (). Default is to disable this feature (?). This option is
          ignored if running in restricted mode.
   --DD,, ----nnuullll
          Output file data to /dev/null; for testing.  (Unix only)
   ----ddeellaayy--ssttaarrttuupp NN
          Wait NN seconds before doing anything.
   --ee,, ----eessccaappee
          Force  sender  to  escape  all control characters; normally XON,
          XOFF, DLE, CR-@-CR, and Ctrl-X are escaped.
   --EE,, ----rreennaammee
          Rename incoming file if target filename already exists. The  new
          file name will have a dot and a number (0..999) appended.
   --hh,, ----hheellpp
          give help screen.
   --mm NN,, ----mmiinn--bbppss NN
          Stop  transmission  if BPS-Rate (Bytes Per Second) falls below N
          for a certain time (see --min-bps-time option).
   --MM NN,, ----mmiinn--bbppss--ttiimmee
          Used together with --min-bps. Default is 120 (seconds).
   --OO,, ----ddiissaabbllee--ttiimmeeoouuttss
          Disable read timeout handling code. This makes lrz hang  if  the
          sender does not send any more, but increases performance (a bit)
          and decreases system load (through reducing the number of system
          calls by about 50 percent).

          Use this option with care.
   ----oo--ssyynncc
          Open  output files in synchronous write mode. This may be useful
          if you experience errors due to lost interrupts  if  update  (or
          bdflush  or whoever this daemon is called on your system) writes
          the buffers to the disk.

          This option is ignored and a warning is printed if your  systems
          doesn’t support O_SYNC.
   --pp,, ----pprrootteecctt
          (ZMODEM) Protect: skip file if destination file exists.
   --qq,, ----qquuiieett
          Quiet suppresses verbosity.
   --rr,, ----rreessuummee
          Crash recovery mode. lrz tries to resume interrupted file trans-
          fers.
   --RR,, ----rreessttrriicctteedd
          Enter more restricted mode. lrz will not create  directories  or
          files with a leading dot if this option is given twice.

          See SSEECCUURRIITTYY for mode information about restricted mode.
   --ss HHHH::MMMM,, ----ssttoopp--aatt HHHH::MMMM
          Stop  transmission  at  HHHH  hours,  MMMM minutes. Another variant,
          using ++NN instead of HHHH::MMMM,, stops transmission in NN seconds.
   --SS,, ----ttiimmeessyynncc
          Request timesync packet from the sender. The  sender  sends  its
          system  time, causing lrz to complain about more then 60 seconds
          difference.

          Lrz tries to set the local system time to  the  remote  time  if
          this  option  is  given  twice  (this fails if lrz is not run by
          root).

          This option makes lrz incompatible with certain  other  ZModems.
          Don’t use it unless you know what you are doing.
   ----ssyysslloogg[[==ooffff]]
          turn syslogging on or off. the default is set at configure time.
          This option is ignored if no syslog support is compiled in.
   --tt TTIIMM,, ----ttiimmeeoouutt TTIIMM
          Change timeout to _T_I_M tenths of  seconds.  This  is  ignored  if
          timeout handling is turned of through the OO option.
   ----ttccpp--cclliieenntt AADDDDRREESSSS::PPOORRTT
          Act as a tcp/ip client: Connect to the given port.

          See ----ttccpp--sseerrvveerr for more information.

   ----ttccpp--sseerrvveerr
          Act  as  a server: Open a socket, print out what to do, wait for
          connection.

          You will normally not want to use this option as  lrzsz  is  the
          only  zmodem  which  understands what to do (private extension).
          You might want to use this if you have to use zmodem (for  which
          reason  whatever),  and cannot use the ----ttccpp option of _l_s_z (per-
          haps because your telnet doesn’t allow to spawn a local  program
          with stdin/stdout connected to the remote side).

          If  you  use  this  option you have to start _l_s_z with the ----ttccpp--
          cclliieenntt AADDDDRREESSSS::PPOORRTT option.  _l_r_z _w_i_l_l _p_r_i_n_t _t_h_e _a_d_d_r_e_s_s _a_n_d _p_o_r_t
          _o_n _s_t_a_r_t_u_p_.

          Use  of this option imposes a security risk, somebody else could
          connect to the port in between. See SSEECCUURRIITTYY for details.
   --UU,, ----uunnrreessttrriicctt
          turn off restricted mode (this is not possible if running  under
          a restricted shell).
   ----vveerrssiioonn
          prints out version number.
   --vv,, ----vveerrbboossee
          Verbose  causes  a  list of file names to be appended to stderr.
          More v’s generate more output.
   --wwNN,, ----wwiinnddoowwssiizzee NN
          Set window size to N.
   --XX,, ----xxmmooddeemm
          use XMODEM protocol.
   --yy,, ----oovveerrwwrriittee
          Yes, clobber any existing files with the same name.
   ----yymmooddeemm
          use YMODEM protocol.
   --ZZ,, ----zzmmooddeemm
          use ZMODEM protocol.
©著作权归作者所有,转载或内容合作请联系作者
  • 序言:七十年代末,一起剥皮案震惊了整个滨河市,随后出现的几起案子,更是在滨河造成了极大的恐慌,老刑警刘岩,带你破解...
    沈念sama阅读 158,736评论 4 362
  • 序言:滨河连续发生了三起死亡事件,死亡现场离奇诡异,居然都是意外死亡,警方通过查阅死者的电脑和手机,发现死者居然都...
    沈念sama阅读 67,167评论 1 291
  • 文/潘晓璐 我一进店门,熙熙楼的掌柜王于贵愁眉苦脸地迎上来,“玉大人,你说我怎么就摊上这事。” “怎么了?”我有些...
    开封第一讲书人阅读 108,442评论 0 243
  • 文/不坏的土叔 我叫张陵,是天一观的道长。 经常有香客问我,道长,这世上最难降的妖魔是什么? 我笑而不...
    开封第一讲书人阅读 43,902评论 0 204
  • 正文 为了忘掉前任,我火速办了婚礼,结果婚礼上,老公的妹妹穿的比我还像新娘。我一直安慰自己,他们只是感情好,可当我...
    茶点故事阅读 52,302评论 3 287
  • 文/花漫 我一把揭开白布。 她就那样静静地躺着,像睡着了一般。 火红的嫁衣衬着肌肤如雪。 梳的纹丝不乱的头发上,一...
    开封第一讲书人阅读 40,573评论 1 216
  • 那天,我揣着相机与录音,去河边找鬼。 笑死,一个胖子当着我的面吹牛,可吹牛的内容都是我干的。 我是一名探鬼主播,决...
    沈念sama阅读 31,847评论 2 312
  • 文/苍兰香墨 我猛地睁开眼,长吁一口气:“原来是场噩梦啊……” “哼!你这毒妇竟也来了?” 一声冷哼从身侧响起,我...
    开封第一讲书人阅读 30,562评论 0 197
  • 序言:老挝万荣一对情侣失踪,失踪者是张志新(化名)和其女友刘颖,没想到半个月后,有当地人在树林里发现了一具尸体,经...
    沈念sama阅读 34,260评论 1 241
  • 正文 独居荒郊野岭守林人离奇死亡,尸身上长有42处带血的脓包…… 初始之章·张勋 以下内容为张勋视角 年9月15日...
    茶点故事阅读 30,531评论 2 245
  • 正文 我和宋清朗相恋三年,在试婚纱的时候发现自己被绿了。 大学时的朋友给我发了我未婚夫和他白月光在一起吃饭的照片。...
    茶点故事阅读 32,021评论 1 258
  • 序言:一个原本活蹦乱跳的男人离奇死亡,死状恐怖,灵堂内的尸体忽然破棺而出,到底是诈尸还是另有隐情,我是刑警宁泽,带...
    沈念sama阅读 28,367评论 2 253
  • 正文 年R本政府宣布,位于F岛的核电站,受9级特大地震影响,放射性物质发生泄漏。R本人自食恶果不足惜,却给世界环境...
    茶点故事阅读 33,016评论 3 235
  • 文/蒙蒙 一、第九天 我趴在偏房一处隐蔽的房顶上张望。 院中可真热闹,春花似锦、人声如沸。这庄子的主人今日做“春日...
    开封第一讲书人阅读 26,068评论 0 8
  • 文/苍兰香墨 我抬头看了看天上的太阳。三九已至,却和暖如春,着一层夹袄步出监牢的瞬间,已是汗流浃背。 一阵脚步声响...
    开封第一讲书人阅读 26,827评论 0 194
  • 我被黑心中介骗来泰国打工, 没想到刚下飞机就差点儿被人妖公主榨干…… 1. 我叫王不留,地道东北人。 一个月前我还...
    沈念sama阅读 35,610评论 2 274
  • 正文 我出身青楼,却偏偏与公主长得像,于是被迫代替她去往敌国和亲。 传闻我的和亲对象是个残疾皇子,可洞房花烛夜当晚...
    茶点故事阅读 35,514评论 2 269

推荐阅读更多精彩内容