linux中的rsync命令

来源:百度知道 编辑:UC知道 时间:2024/05/25 09:18:44
rsync -av -e "ssh -c arcfour"

-e参数是什么意思

还有“ssh -c arcfour" 是什么意思啊

rsync和ssh是两个单独命令。

  rsync语法 : 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]

  〔options〕我只给你列出-e的参数。
  -e,
  --rsh=COMMAND specify the remote shell to use
  --rsync-path=PROGRAM specify the rsync to run on the remote machine
  --existing skip creating new files on receiver
  --ignore-existing skip updating files that already exist on receiver
  --remove-source-files sender removes synchronized files (non-dirs)
  --del an alias for --delete-during
  --delete delete extraneous files from destination dirs<