Advertisement
pentago

Untitled

Jan 20th, 2015
903
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 0.58 KB | None | 0 0
  1. @echo off
  2. set ARGS=/mir /dcopy:dat /xa:sh /a-:sha /mt:4 /unicode /tee /ns /nc
  3. set EXCLUDES=/xd *RECYCLE* "System Volume Information" /xf .DS_Store Thumbs.db *.$$$ desktop.ini *.sys
  4. for /f "tokens=2-4 delims=/ " %%i in ('date /t') do set date=%%k%%j%%i
  5. set LOGD=/unilog:D:\Software\System\Backup\logs\%date%-D.log
  6. set LOGE=/unilog:D:\Software\System\Backup\logs\%date%-E.log
  7. set LOGF=/unilog:D:\Software\System\Backup\logs\%date%-F.log
  8.  
  9. robocopy.exe D:\ H:\D %ARGS% %EXCLUDES% %LOGD%
  10. robocopy.exe E:\ H:\E %ARGS% %EXCLUDES% %LOGE%
  11. robocopy.exe F:\ H:\F %ARGS% %EXCLUDES% %LOGF%
  12.  
  13. pause
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement