Robocopy » 履歴 » バージョン 1
健二 酒井, 2019/04/21 22:01
1 | 1 | 健二 酒井 | # Robocopy |
---|---|---|---|
2 | 1 | 健二 酒井 | |
3 | 1 | 健二 酒井 | 頑張ってrobocopyの使い方を翻訳する |
4 | 1 | 健二 酒井 | |
5 | 1 | 健二 酒井 | |
6 | 1 | 健二 酒井 | |
7 | 1 | 健二 酒井 | ## 訳 |
8 | 1 | 健二 酒井 | |
9 | 1 | 健二 酒井 | ### その1 |
10 | 1 | 健二 酒井 | |
11 | 1 | 健二 酒井 | ``` |
12 | 1 | 健二 酒井 | ------------------------------------------------------------------------------- |
13 | 1 | 健二 酒井 | ROBOCOPY :: Windows向けの堅牢なファイルコピー |
14 | 1 | 健二 酒井 | ------------------------------------------------------------------------------- |
15 | 1 | 健二 酒井 | |
16 | 1 | 健二 酒井 | 開始 : 2019年4月21日 21:49:46 |
17 | 1 | 健二 酒井 | コピー元 - |
18 | 1 | 健二 酒井 | コピー先 - |
19 | 1 | 健二 酒井 | |
20 | 1 | 健二 酒井 | ファイル : |
21 | 1 | 健二 酒井 | オプション : /DCOPY:DA /COPY:DAT /R:1000000 /W:30 |
22 | 1 | 健二 酒井 | |
23 | 1 | 健二 酒井 | ------------------------------------------------------------------------------ |
24 | 1 | 健二 酒井 | |
25 | 1 | 健二 酒井 | エラー : 無効な引数 #1 : "/help" |
26 | 1 | 健二 酒井 | |
27 | 1 | 健二 酒井 | 簡単な使い方 :: ROBOCOPY <コピー元> <コピー先> /MIR |
28 | 1 | 健二 酒井 | |
29 | 1 | 健二 酒井 | <コピー元> :: コピー元ディレクトリ (ドライブ文字:\パス または \\サーバー\共有フォルダ\パス). |
30 | 1 | 健二 酒井 | <コピー先> :: コピー先ディレクトリ (ドライブ文字:\パス または \\サーバー\共有フォルダ\パス). |
31 | 1 | 健二 酒井 | /MIR :: ディレクトリツリーを忠実に復元します(原語:Mirror). |
32 | 1 | 健二 酒井 | |
33 | 1 | 健二 酒井 | これ以上の使い方の情報が欲しいとき ROBOCOPY /? |
34 | 1 | 健二 酒井 | |
35 | 1 | 健二 酒井 | |
36 | 1 | 健二 酒井 | **** /MIR はコピーするのと同じように「削除も」します |
37 | 1 | 健二 酒井 | ``` |
38 | 1 | 健二 酒井 | |
39 | 1 | 健二 酒井 | ### その2 |
40 | 1 | 健二 酒井 | |
41 | 1 | 健二 酒井 | ``` |
42 | 1 | 健二 酒井 | ------------------------------------------------------------------------------- |
43 | 1 | 健二 酒井 | ROBOCOPY :: Windows用堅牢なファイルコピー |
44 | 1 | 健二 酒井 | ------------------------------------------------------------------------------- |
45 | 1 | 健二 酒井 | |
46 | 1 | 健二 酒井 | 開始 : 2019 |
47 | 1 | 健二 酒井 | |
48 | 1 | 健二 酒井 | ``` |
49 | 1 | 健二 酒井 | |
50 | 1 | 健二 酒井 | |
51 | 1 | 健二 酒井 | ## 元の文 |
52 | 1 | 健二 酒井 | |
53 | 1 | 健二 酒井 | ### その1 |
54 | 1 | 健二 酒井 | |
55 | 1 | 健二 酒井 | ``` |
56 | 1 | 健二 酒井 | robocopy /help |
57 | 1 | 健二 酒井 | |
58 | 1 | 健二 酒井 | ------------------------------------------------------------------------------- |
59 | 1 | 健二 酒井 | ROBOCOPY :: Robust File Copy for Windows |
60 | 1 | 健二 酒井 | ------------------------------------------------------------------------------- |
61 | 1 | 健二 酒井 | |
62 | 1 | 健二 酒井 | Started : 2019年4月21日 21:49:46 |
63 | 1 | 健二 酒井 | Source - |
64 | 1 | 健二 酒井 | Dest - |
65 | 1 | 健二 酒井 | |
66 | 1 | 健二 酒井 | Files : |
67 | 1 | 健二 酒井 | Options : /DCOPY:DA /COPY:DAT /R:1000000 /W:30 |
68 | 1 | 健二 酒井 | |
69 | 1 | 健二 酒井 | ------------------------------------------------------------------------------ |
70 | 1 | 健二 酒井 | |
71 | 1 | 健二 酒井 | ERROR : Invalid Parameter #1 : "/help" |
72 | 1 | 健二 酒井 | |
73 | 1 | 健二 酒井 | Simple Usage :: ROBOCOPY source destination /MIR |
74 | 1 | 健二 酒井 | |
75 | 1 | 健二 酒井 | source :: Source Directory (drive:\path or \\server\share\path). |
76 | 1 | 健二 酒井 | destination :: Destination Dir (drive:\path or \\server\share\path). |
77 | 1 | 健二 酒井 | /MIR :: Mirror a complete directory tree. |
78 | 1 | 健二 酒井 | |
79 | 1 | 健二 酒井 | For more usage information run ROBOCOPY /? |
80 | 1 | 健二 酒井 | |
81 | 1 | 健二 酒井 | |
82 | 1 | 健二 酒井 | **** /MIR can DELETE files as well as copy them ! |
83 | 1 | 健二 酒井 | ``` |
84 | 1 | 健二 酒井 | |
85 | 1 | 健二 酒井 | ### その2 |
86 | 1 | 健二 酒井 | |
87 | 1 | 健二 酒井 | ``` |
88 | 1 | 健二 酒井 | robocopy /? |
89 | 1 | 健二 酒井 | |
90 | 1 | 健二 酒井 | ------------------------------------------------------------------------------- |
91 | 1 | 健二 酒井 | ROBOCOPY :: Robust File Copy for Windows |
92 | 1 | 健二 酒井 | ------------------------------------------------------------------------------- |
93 | 1 | 健二 酒井 | |
94 | 1 | 健二 酒井 | Started : 2019年4月21日 21:50:27 |
95 | 1 | 健二 酒井 | Usage :: ROBOCOPY source destination [file [file]...] [options] |
96 | 1 | 健二 酒井 | |
97 | 1 | 健二 酒井 | source :: Source Directory (drive:\path or \\server\share\path). |
98 | 1 | 健二 酒井 | destination :: Destination Dir (drive:\path or \\server\share\path). |
99 | 1 | 健二 酒井 | file :: File(s) to copy (names/wildcards: default is "*.*"). |
100 | 1 | 健二 酒井 | |
101 | 1 | 健二 酒井 | :: |
102 | 1 | 健二 酒井 | :: Copy options : |
103 | 1 | 健二 酒井 | :: |
104 | 1 | 健二 酒井 | /S :: copy Subdirectories, but not empty ones. |
105 | 1 | 健二 酒井 | /E :: copy subdirectories, including Empty ones. |
106 | 1 | 健二 酒井 | /LEV:n :: only copy the top n LEVels of the source directory tree. |
107 | 1 | 健二 酒井 | |
108 | 1 | 健二 酒井 | /Z :: copy files in restartable mode. |
109 | 1 | 健二 酒井 | /B :: copy files in Backup mode. |
110 | 1 | 健二 酒井 | /ZB :: use restartable mode; if access denied use Backup mode. |
111 | 1 | 健二 酒井 | /J :: copy using unbuffered I/O (recommended for large files). |
112 | 1 | 健二 酒井 | /EFSRAW :: copy all encrypted files in EFS RAW mode. |
113 | 1 | 健二 酒井 | |
114 | 1 | 健二 酒井 | /COPY:copyflag[s] :: what to COPY for files (default is /COPY:DAT). |
115 | 1 | 健二 酒井 | (copyflags : D=Data, A=Attributes, T=Timestamps). |
116 | 1 | 健二 酒井 | (S=Security=NTFS ACLs, O=Owner info, U=aUditing info). |
117 | 1 | 健二 酒井 | |
118 | 1 | 健二 酒井 | |
119 | 1 | 健二 酒井 | /SEC :: copy files with SECurity (equivalent to /COPY:DATS). |
120 | 1 | 健二 酒井 | /COPYALL :: COPY ALL file info (equivalent to /COPY:DATSOU). |
121 | 1 | 健二 酒井 | /NOCOPY :: COPY NO file info (useful with /PURGE). |
122 | 1 | 健二 酒井 | /SECFIX :: FIX file SECurity on all files, even skipped files. |
123 | 1 | 健二 酒井 | /TIMFIX :: FIX file TIMes on all files, even skipped files. |
124 | 1 | 健二 酒井 | |
125 | 1 | 健二 酒井 | /PURGE :: delete dest files/dirs that no longer exist in source. |
126 | 1 | 健二 酒井 | /MIR :: MIRror a directory tree (equivalent to /E plus /PURGE). |
127 | 1 | 健二 酒井 | |
128 | 1 | 健二 酒井 | /MOV :: MOVe files (delete from source after copying). |
129 | 1 | 健二 酒井 | /MOVE :: MOVE files AND dirs (delete from source after copying). |
130 | 1 | 健二 酒井 | |
131 | 1 | 健二 酒井 | /A+:[RASHCNET] :: add the given Attributes to copied files. |
132 | 1 | 健二 酒井 | /A-:[RASHCNET] :: remove the given Attributes from copied files. |
133 | 1 | 健二 酒井 | |
134 | 1 | 健二 酒井 | /CREATE :: CREATE directory tree and zero-length files only. |
135 | 1 | 健二 酒井 | /FAT :: create destination files using 8.3 FAT file names only. |
136 | 1 | 健二 酒井 | /256 :: turn off very long path (> 256 characters) support. |
137 | 1 | 健二 酒井 | |
138 | 1 | 健二 酒井 | /MON:n :: MONitor source; run again when more than n changes seen. |
139 | 1 | 健二 酒井 | /MOT:m :: MOnitor source; run again in m minutes Time, if changed. |
140 | 1 | 健二 酒井 | |
141 | 1 | 健二 酒井 | /RH:hhmm-hhmm :: Run Hours - times when new copies may be started. |
142 | 1 | 健二 酒井 | /PF :: check run hours on a Per File (not per pass) basis. |
143 | 1 | 健二 酒井 | |
144 | 1 | 健二 酒井 | /IPG:n :: Inter-Packet Gap (ms), to free bandwidth on slow lines. |
145 | 1 | 健二 酒井 | |
146 | 1 | 健二 酒井 | /SL :: copy symbolic links versus the target. |
147 | 1 | 健二 酒井 | |
148 | 1 | 健二 酒井 | /MT[:n] :: Do multi-threaded copies with n threads (default 8). |
149 | 1 | 健二 酒井 | n must be at least 1 and not greater than 128. |
150 | 1 | 健二 酒井 | This option is incompatible with the /IPG and /EFSRAW options. |
151 | 1 | 健二 酒井 | Redirect output using /LOG option for better performance. |
152 | 1 | 健二 酒井 | |
153 | 1 | 健二 酒井 | /DCOPY:copyflag[s] :: what to COPY for directories (default is /DCOPY:DA). |
154 | 1 | 健二 酒井 | (copyflags : D=Data, A=Attributes, T=Timestamps). |
155 | 1 | 健二 酒井 | |
156 | 1 | 健二 酒井 | /NODCOPY :: COPY NO directory info (by default /DCOPY:DA is done). |
157 | 1 | 健二 酒井 | |
158 | 1 | 健二 酒井 | /NOOFFLOAD :: copy files without using the Windows Copy Offload mechanism. |
159 | 1 | 健二 酒井 | |
160 | 1 | 健二 酒井 | :: |
161 | 1 | 健二 酒井 | :: File Selection Options : |
162 | 1 | 健二 酒井 | :: |
163 | 1 | 健二 酒井 | /A :: copy only files with the Archive attribute set. |
164 | 1 | 健二 酒井 | /M :: copy only files with the Archive attribute and reset it. |
165 | 1 | 健二 酒井 | /IA:[RASHCNETO] :: Include only files with any of the given Attributes set. |
166 | 1 | 健二 酒井 | /XA:[RASHCNETO] :: eXclude files with any of the given Attributes set. |
167 | 1 | 健二 酒井 | |
168 | 1 | 健二 酒井 | /XF file [file]... :: eXclude Files matching given names/paths/wildcards. |
169 | 1 | 健二 酒井 | /XD dirs [dirs]... :: eXclude Directories matching given names/paths. |
170 | 1 | 健二 酒井 | |
171 | 1 | 健二 酒井 | /XC :: eXclude Changed files. |
172 | 1 | 健二 酒井 | /XN :: eXclude Newer files. |
173 | 1 | 健二 酒井 | /XO :: eXclude Older files. |
174 | 1 | 健二 酒井 | /XX :: eXclude eXtra files and directories. |
175 | 1 | 健二 酒井 | /XL :: eXclude Lonely files and directories. |
176 | 1 | 健二 酒井 | /IS :: Include Same files. |
177 | 1 | 健二 酒井 | /IT :: Include Tweaked files. |
178 | 1 | 健二 酒井 | |
179 | 1 | 健二 酒井 | /MAX:n :: MAXimum file size - exclude files bigger than n bytes. |
180 | 1 | 健二 酒井 | /MIN:n :: MINimum file size - exclude files smaller than n bytes. |
181 | 1 | 健二 酒井 | |
182 | 1 | 健二 酒井 | /MAXAGE:n :: MAXimum file AGE - exclude files older than n days/date. |
183 | 1 | 健二 酒井 | /MINAGE:n :: MINimum file AGE - exclude files newer than n days/date. |
184 | 1 | 健二 酒井 | /MAXLAD:n :: MAXimum Last Access Date - exclude files unused since n. |
185 | 1 | 健二 酒井 | /MINLAD:n :: MINimum Last Access Date - exclude files used since n. |
186 | 1 | 健二 酒井 | (If n < 1900 then n = n days, else n = YYYYMMDD date). |
187 | 1 | 健二 酒井 | |
188 | 1 | 健二 酒井 | /XJ :: eXclude Junction points and symbolic links. (normally included by default). |
189 | 1 | 健二 酒井 | |
190 | 1 | 健二 酒井 | /FFT :: assume FAT File Times (2-second granularity). |
191 | 1 | 健二 酒井 | /DST :: compensate for one-hour DST time differences. |
192 | 1 | 健二 酒井 | |
193 | 1 | 健二 酒井 | /XJD :: eXclude Junction points and symbolic links for Directories. |
194 | 1 | 健二 酒井 | /XJF :: eXclude symbolic links for Files. |
195 | 1 | 健二 酒井 | |
196 | 1 | 健二 酒井 | :: |
197 | 1 | 健二 酒井 | :: Retry Options : |
198 | 1 | 健二 酒井 | :: |
199 | 1 | 健二 酒井 | /R:n :: number of Retries on failed copies: default 1 million. |
200 | 1 | 健二 酒井 | /W:n :: Wait time between retries: default is 30 seconds. |
201 | 1 | 健二 酒井 | |
202 | 1 | 健二 酒井 | /REG :: Save /R:n and /W:n in the Registry as default settings. |
203 | 1 | 健二 酒井 | |
204 | 1 | 健二 酒井 | /TBD :: wait for sharenames To Be Defined (retry error 67). |
205 | 1 | 健二 酒井 | |
206 | 1 | 健二 酒井 | :: |
207 | 1 | 健二 酒井 | :: Logging Options : |
208 | 1 | 健二 酒井 | :: |
209 | 1 | 健二 酒井 | /L :: List only - don't copy, timestamp or delete any files. |
210 | 1 | 健二 酒井 | /X :: report all eXtra files, not just those selected. |
211 | 1 | 健二 酒井 | /V :: produce Verbose output, showing skipped files. |
212 | 1 | 健二 酒井 | /TS :: include source file Time Stamps in the output. |
213 | 1 | 健二 酒井 | /FP :: include Full Pathname of files in the output. |
214 | 1 | 健二 酒井 | /BYTES :: Print sizes as bytes. |
215 | 1 | 健二 酒井 | |
216 | 1 | 健二 酒井 | /NS :: No Size - don't log file sizes. |
217 | 1 | 健二 酒井 | /NC :: No Class - don't log file classes. |
218 | 1 | 健二 酒井 | /NFL :: No File List - don't log file names. |
219 | 1 | 健二 酒井 | /NDL :: No Directory List - don't log directory names. |
220 | 1 | 健二 酒井 | |
221 | 1 | 健二 酒井 | /NP :: No Progress - don't display percentage copied. |
222 | 1 | 健二 酒井 | /ETA :: show Estimated Time of Arrival of copied files. |
223 | 1 | 健二 酒井 | |
224 | 1 | 健二 酒井 | /LOG:file :: output status to LOG file (overwrite existing log). |
225 | 1 | 健二 酒井 | /LOG+:file :: output status to LOG file (append to existing log). |
226 | 1 | 健二 酒井 | |
227 | 1 | 健二 酒井 | /UNILOG:file :: output status to LOG file as UNICODE (overwrite existing log). |
228 | 1 | 健二 酒井 | /UNILOG+:file :: output status to LOG file as UNICODE (append to existing log). |
229 | 1 | 健二 酒井 | |
230 | 1 | 健二 酒井 | /TEE :: output to console window, as well as the log file. |
231 | 1 | 健二 酒井 | |
232 | 1 | 健二 酒井 | /NJH :: No Job Header. |
233 | 1 | 健二 酒井 | /NJS :: No Job Summary. |
234 | 1 | 健二 酒井 | |
235 | 1 | 健二 酒井 | /UNICODE :: output status as UNICODE. |
236 | 1 | 健二 酒井 | |
237 | 1 | 健二 酒井 | :: |
238 | 1 | 健二 酒井 | :: Job Options : |
239 | 1 | 健二 酒井 | :: |
240 | 1 | 健二 酒井 | /JOB:jobname :: take parameters from the named JOB file. |
241 | 1 | 健二 酒井 | /SAVE:jobname :: SAVE parameters to the named job file |
242 | 1 | 健二 酒井 | /QUIT :: QUIT after processing command line (to view parameters). |
243 | 1 | 健二 酒井 | /NOSD :: NO Source Directory is specified. |
244 | 1 | 健二 酒井 | /NODD :: NO Destination Directory is specified. |
245 | 1 | 健二 酒井 | /IF :: Include the following Files. |
246 | 1 | 健二 酒井 | |
247 | 1 | 健二 酒井 | :: |
248 | 1 | 健二 酒井 | :: Remarks : |
249 | 1 | 健二 酒井 | :: |
250 | 1 | 健二 酒井 | Using /PURGE or /MIR on the root directory of the volume formerly caused |
251 | 1 | 健二 酒井 | robocopy to apply the requested operation on files inside the System |
252 | 1 | 健二 酒井 | Volume Information directory as well. This is no longer the case; if |
253 | 1 | 健二 酒井 | either is specified, robocopy will skip any files or directories with that |
254 | 1 | 健二 酒井 | name in the top-level source and destination directories of the copy session. |
255 | 1 | 健二 酒井 | ``` |