robocopy
|
文件: |
robocopy.zip |
大小: |
32KB |
下载: |
下载 | |
robocopy l:\temp z:\temp /L /FP /S /TS /MINAGE:20080101 /MINLAD:20080101 >c:\result.txt
-------------------------------------------------------------------------------
ROBOCOPY :: Robust File Copy for Windows :: Version XP010
-------------------------------------------------------------------------------
Started : Fri Feb 29 12:51:57 2008
Source : l:\temp\
Dest : z:\temp\
Files : *.*
Options : *.* /TS /FP /L /S /COPY:DAT /MINAGE:20080101 /MINLAD:20080101 /R:1000000 /W:30
------------------------------------------------------------------------------
New Dir 8 l:\temp\
New File 733 2007/10/23 10:55:06 l:\temp\1.txt
New File 1463 2007/10/12 07:08:23 l:\temp\2.txt
New File 432816 1999/12/02 06:53:44 l:\temp\DUMPCFG.old
New File 298 2007/11/22 04:17:22 l:\temp\New Text Document.txt
New File 1855 2007/11/14 09:08:25 l:\temp\prnadmin.vbs
New Dir 2 l:\temp\IA64\
New File 168448 2005/08/05 03:53:04 l:\temp\IA64\DumpCfg.exe
New File 494592 2005/08/05 03:53:04 l:\temp\IA64\DumpCfg.pdb
New Dir 2 l:\temp\X64\
New File 104448 2005/11/17 04:09:02 l:\temp\X64\DumpCfg.exe
New File 568320 2005/11/17 04:09:02 l:\temp\X64\DumpCfg.pdb
------------------------------------------------------------------------------
Total Copied Skipped Mismatch FAILED Extras
Dirs : 3 3 0 0 0 0
Files : 12 9 3 0 0 0
Bytes : 2.25 m 1.69 m 581.2 k 0 0 0
Times : 0:00:00 0:00:00 0:00:00 0:00:00
Ended : Fri Feb 29 12:51:57 2008
Nine file that meet with the criteria are listed and three files that don’t meet are not listed. Following are the function of the each parameters that I used:
robocopy l:\temp z:\temp /L /FP /S /TS /MINAGE:20080101 /MINLAD:20080101 >c:\result.txt
L:\Temp – this the actually the folder that you want to search, or the source folder when you really do the copy operations
Z:\Temp – this is the hypothetical destination folder, this folder does not necessarily exit and won’t be created after the running the command
/L - Lists files without copying, deleting, or applying a time stamp to any files (just simulate)
/FP - Displays full pathnames of files in the output log
/S – Including the subdirectories (excluding empty ones)
/TS - Displays source file timestamps in the output log
/MINAGE:20080101 – Select the files that ‘Last modified date’ is early than 2008/01/01
/MINLAD:20080101 – Select the files that ‘Last accessed date’ is early than 2008/01/01
——————————————————————————————————————————————
tail
C:\work\install\win-tolls>tail /?
usage: TAIL [switches] [filename]*
switches: [-?] display this message
[-n] display last n lines of each file (default 10)
[-f filename] keep checking filename for new lines
|
文件: |
tail.zip |
大小: |
3KB |
下载: |
下载 | |
阅读(2823) | 评论(0) | 转发(0) |