亚洲欧洲国产欧美一区精品,激情五月亚洲色五月,最新精品国偷自产在线婷婷,欧美婷婷丁香五月天社区

      考試首頁 | 考試用書 | 培訓(xùn)課程 | 模擬考場 | 考試論壇  
        當(dāng)前位置:Linux認(rèn)證 > 紅帽認(rèn)證 > 紅帽認(rèn)證輔導(dǎo) > 文章內(nèi)容
        

      RHCE7認(rèn)證學(xué)習(xí)筆記:壓縮、歸檔和系統(tǒng)間的文件傳輸

      來源:Linux社區(qū) [ 2016年2月20日 ] 【

      二、系統(tǒng)間的文件傳輸

          scp需要依賴于openssh-client:
          scp,本地或者遠(yuǎn)端的文件互相拷貝,拷貝目錄加-r選項:
      [root@linuxidc ~]# scp --help
      usage: scp [-12346BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file]
                [-l limit] [-o ssh_option] [-P port] [-S program]
                [[user@]host1:]file1 ... [[user@]host2:]file2

      [root@linuxidc ~]# scp -r /tmp root@192.168.100.1:~/xx

          rsnc:

      [root@linuxidc ~]# rsync --help
      Usage: rsync [OPTION]... SRC [SRC]...

       DEST
        or  rsync [OPTION]... SRC [SRC]... [USER@]HOST:DEST
        or  rsync [OPTION]... SRC [SRC]... [USER@]HOST::DEST
        or  rsync [OPTION]... SRC [SRC]... rsync://[USER@]HOST[:PORT]/DEST
        or  rsync [OPTION]... [USER@]HOST:SRC [DEST]
        or  rsync [OPTION]... [USER@]HOST::SRC [DEST]
        or  rsync [OPTION]... rsync://[USER@]HOST[:PORT]/SRC [DEST]
      The ':' usages connect via remote shell, while '::' & 'rsync://' usages connect
      to an rsync daemon, and require SRC or DEST to start with a module name.

       Options
       -v, --verbose              increase verbosity
       -q, --quiet                suppress non-error messages
          --no-motd              suppress daemon-mode MOTD (see manpage caveat)
       -c, --checksum              skip based on checksum, not mod-time & size
       -a, --archive              archive mode; equals -rlptgoD (no -H,-A,-X)
          --no-OPTION            turn off an implied OPTION (e.g. --no-D)
       -r, --recursive            recurse into directories
       -R, --relative              use relative path names
          --no-implied-dirs      don't send implied dirs with --relative
       -b, --backup                make backups (see --suffix & --backup-dir)
          --backup-dir=DIR        make backups into hierarchy based in DIR
          --suffix=SUFFIX        set backup suffix (default ~ w/o --backup-dir)
       -u, --update                skip files that are newer on the receiver
          --inplace              update destination files in-place (SEE MAN PAGE)
          --append                append data onto shorter files
          --append-verify        like --append, but with old data in file checksum
       -d, --dirs                  transfer directories without recursing

          windows系統(tǒng)與linux系統(tǒng)間文件的拖拉直接傳輸,可以安裝lrzsz.x86_64這個包
          Xshell終端可以直接輸入rz命令,進(jìn)行文件的傳輸

          linux拷貝到windows使用sz file

          Xshell直接按快捷鍵crtl+alt+F鍵調(diào)用xftp進(jìn)行大文件傳輸;

      首頁 1 2 尾頁
      將考試網(wǎng)添加到收藏夾 | 每次上網(wǎng)自動訪問考試網(wǎng) | 復(fù)制本頁地址,傳給QQ/MSN上的好友 | 申請鏈接 | 意見留言 TOP
      關(guān)于本站  網(wǎng)站聲明  廣告服務(wù)  聯(lián)系方式  站內(nèi)導(dǎo)航  考試論壇
      Copyright © 2007-2013 中華考試網(wǎng)(Examw.com) All Rights Reserved