【求助】RoboCopy指令參數的中文意思

顯示結果從第 1 筆 到 3 筆,共計 3 筆
  1. #1
    會員
    註冊日期
    2001-05-06
    討論區文章
    389

    【求助】RoboCopy指令參數的中文意思

    目前準備開始使用RoboCopy指令,可是發現它的參數說明是全英文的
    某些參數說明我是翻譯出來了,但不知道是否有錯誤?
    還有些翻譯不出來的(便不了解它的功能),可否請您幫個忙?


    來源參數
    /S : 複製每個目錄及其包含的子目錄,不複製空目錄 copy Subfolders
    /E : 複製每個目錄及其包含的子目錄,也複製空目錄 copy Subfolders, including Empty Subfolders.
    /SEC : 複製安全性 copy SECurity info (both source and dest must be NTFS).##

    /A : 只複製設定成保存屬性的檔案,不要改變屬性的設定 copy only files with the Archive attribute set.
    /M : 只複製設定成保存屬性的檔案,並清除保存屬性 like /A, but remove Archive attribute from source files.
    /LEV:n : only copy the top n LEVels of the source tree.##

    /MAXAGE:n : 排除比指定日期要舊的檔案 MAXimum file AGE - exclude files older than n days/date.##
    /MINAGE:n : 排除比指定日期要新的檔案 MINimum file AGE - exclude files newer than n days/date.##
    (If n < 1900 then n = n days, else n = YYYYMMDD date).

    複製參數
    /L : 顯示要複製的檔案 List only - don't copy, timestamp or delete any files.
    /MOV : 移動檔案 MOVe files (delete from source after copying).##
    /MOVE : 移動檔案與資料夾 Move files and dirs (delete from source after copying).

    /Z : 在可重新開始的模式中複製網路檔案 copy files in restartable mode (survive network glitch).##

    /R:n : number of Retries on failed copies - default is 1 million.
    /W:n : Wait time between retries - default is 30 seconds.
    /REG : Save /R:n and /W:n in the Registry as default settings.

    /TBD : wait for sharenames To Be Defined (retry error 67).##

    目的地參數

    /A+:[R][A][S][H] : set file Attributes on destination files - add.
    /A-:[R][A][S][H] : set file Attributes on destination files - remove.
    /FAT : 將目的檔案設定成FAT8.3名稱(不太了解意思) create destination files using 8.3 FAT file names only.##
    /SECFIX : FIX SECurity info on existing files and dirs.##
    /TimFix : FIX Timestamp on all existing destination files,
    including skipped files. ##
    (prior to version 1.95 this was /T it's not backwards compatible
    so scripts that use /T may fail)

    /CREATE : CREATE directory tree structure + zero-length files only.

    /PURGE : 刪除目的檔案,當來源檔案已不存在時 delete dest files/folders that no longer exist in source.
    /MIR : MIRror a directory tree - equivalent to /PURGE plus all subfolders (/E) ##

    記錄參數
    /L : 顯示要複製的檔案(前面也有個/L,但不知差異在哪) List only - don't copy, timestamp or delete any files.
    /NP : 不要顯示拷貝的百分比 No Progress - don't display % copied.
    /LOG:file : 將記錄複寫到記錄檔 output status to LOG file (overwrite existing log). ##
    /LOG+:file : 將記錄附加到記錄檔 output status to LOG file (append to existing log). ##

    進階參數
    /XO : 排除目的檔案的日期跟來源檔案一樣或更新 eXclude Older - if destination file exists and is the same date
    or newer than the source - don't bother to overwrite it.
    /XC | /XN : 排除變更過的檔案 eXclude Changed | 排除新增的檔案 Newer files
    /XX | /XL : eXclude eXtra | Lonely files and dirs.
    An "extra" file is present in destination but not source,
    excluding extras will delete from destination.
    A "lonely" file is present in source but not destination
    excluding lonely will prevent any new files being added to the destination.
    /IS : 複寫檔案,既使他們是一樣的(不太了解意思) Overwrite files even if they are already the same.

    /XF file [file]... : 排除指定的檔案,可包含路徑與萬用字元 eXclude Files matching given names/paths/wildcards.##
    /XD dirs [dirs]... : 排除指定的資料夾 eXclude Directories matching given names/paths. ##
    XF and XD can be used in combination e.g.
    ROBOCOPY c:\source d:\dest /XF *.doc *.xls /XD c:\unwanted /S

    /MAX:n : 排除比指定bytes要大的檔案 MAXimum file size - exclude files bigger than n bytes. ##
    /MIN:n : 排除比指定bytes要小的檔案 MINimum file size - exclude files smaller than n bytes.##
    /XA:[R][A][S][H] : eXclude files with any of the given Attributes
    /IA:[R][A][S][H] : Include files with any of the given Attributes ##

    /X : report all eXtra files, not just those selected & copied.
    /V : produce Verbose output log, showing skipped files.
    /ETA : 顯示預估完成的時間 show Estimated Time of Arrival of copied files.

    ## indicates a new feature in Robocopy version 1.95



  2. #2
    Take it easy~ leonchou 的大頭照
    註冊日期
    2001-05-03
    討論區文章
    3,244
    我來試幾個, 看看就好 :D

    來源參數
    /S : 複製每個目錄及其包含的子目錄,不複製空目錄 copy Subfolders
    /E : 複製每個目錄及其包含的子目錄,也複製空目錄 copy Subfolders, including Empty Subfolders.
    /SEC : 複製安全性資訊,來源和目標必需都是NTFS檔案系統 copy SECurity info (both source and dest must be NTFS).
    /COPY:copyflag[s] : 要複製的項目,預設複製檔案+檔案屬性+檔案時間 (default is /COPY:DAT). 項目代碼: D=資料(檔案), A=屬性, T=時間資訊, S=NTFS安全性設定, O=檔案擁有者資訊, U=稽核資訊?).
     (copyflags : D=Data, A=Attributes, T=Timestamps).
     (S=Security=NTFS ACLs, O=Owner info, U=aUditing info).
    /COPYALL : 複製全部檔案資訊,與 /COPY:DATSOU 相同 Copy ALL file info (equivalent to /COPY:DATSOU).
    /NOCOPY : 不複製全部檔案資訊,可與 /PURGE 搭配使用 Copy NO file info (useful with /PURGE).
    /A : 只複製設定成保存屬性的檔案,不要改變屬性的設定 copy only files with the Archive attribute set.
    /M : 只複製設定成保存屬性的檔案,並清除保存屬性 like /A, but remove Archive attribute from source files.
    /LEV:n : 只複製到第 n 層子目錄 only copy the top n LEVels of the source tree.
    /MAXAGE:n : 排除比指定日期(或日數)要舊的檔案 MAXimum file AGE - exclude files older than n days/date.##
    /MINAGE:n : 排除比指定日期(或日數)要新的檔案 MINimum file AGE - exclude files newer than n days/date.##
     (若 n < 1900 則 n = 天數,否則 n = YYYYMMDD 格式的日期).
     (If n < 1900 then n = n days, else n = YYYYMMDD date).

    複製參數
    /L : 只顯示要複製的檔案,不作複製、刪除或修改日期的動作 List only - don't copy, timestamp or delete any files.
    /MOV : 移動檔案 MOVe files (delete from source after copying).##
    /MOVE : 移動檔案與資料夾 Move files and dirs (delete from source after copying).
    /Z : 在可重新開始的模式中複製網路檔案 copy files in restartable mode (survive network glitch).##
    /R:n : 當複製失敗時要重試的次數,預設100萬次 number of Retries on failed copies - default is 1 million.
    /W:n : 重試間隔的時間,預設 30 秒 Wait time between retries - default is 30 seconds.
    /REG : 將 /R:n 和 /W:n 的設定值存入登錄檔做為預設值 Save /R:n and /W:n in the Registry as default settings.
    ............
    .............
    翻譯真是很累人... ^^||

  3. #3
    會員
    註冊日期
    2001-05-06
    討論區文章
    389
    感謝您的回應
    雖然沒有全翻,但有翻出來的也非常明白易懂
    因為這RoboCopy真的是好工具
    但基於連說明都是英文的,我想很多人應該跟我一樣不知該如何使用
    我連用了翻譯軟體,也還是一大半翻譯不出個所以然來
    希望這些翻譯的說明在完成後,可以幫助到大家

    我的RoboCopy參數中沒有出現
    /COPY、/COPYALL、/NOCOPY
    這3個…難道有版本差異?

    剛又查了一下原來我手頭的RoboCopy
    程式是1.71版的,說明檔txt確是1.95版了
    而微軟有開放免費下載 Windows Server 2003 Resource Kit Tools
    http://www.microsoft.com/downloads/d...displaylang=en

    它是註明相容性不包含Windows2000
    可是我將它放到Windows2000中,居然可以正常使用
    版本為Version XP010,可能還沒用到不相容的參數吧

類似的主題

  1. mount指令的參數: user/users 有何不同?
    作者:jack8015 所在討論版:-- FreeBSD & Linux 討 論 版
    回覆: 0
    最後發表: 2009-09-03, 05:28 PM
  2. Vi 內的指令參數疑問
    作者:sam1150 所在討論版:-- FreeBSD & Linux 討 論 版
    回覆: 1
    最後發表: 2007-09-19, 04:05 PM
  3. 【閒聊】有人用過robocopy.exe這個指令嗎?
    作者:yuping 所在討論版:-- Windows 討 論 版
    回覆: 2
    最後發表: 2004-12-30, 09:22 PM
  4. 一個關於hdparm參數的錯誤【求助】
    作者:autok 所在討論版:-- FreeBSD & Linux 討 論 版
    回覆: 2
    最後發表: 2002-08-12, 07:06 AM
  5. 轉貼:托福2001年英文考題 (猜猜他的中文意思)
    作者:turnmeon 所在討論版:-- 網路輕鬆版 [圖片 笑話 影片]
    回覆: 7
    最後發表: 2002-05-01, 10:27 PM

 

robocopy 結果說明

發表文章規則

  • 不可以發表新主題
  • 不可以回覆文章
  • 不可以上傳附加檔案
  • 不可以編輯自己的文章
  •