01-05-2008, 01:25 | #1 |
Bananaman
Join Date: Jul 2006
Location: Liverpool/Edinburgh
Posts: 4,817
|
Windows cmd/batch monkeys (Robocopy and Del)
Right well i fully except the usual people to appear in this thread
Two problems: First i've got robocopy set up luuurvely and its mirroring happily see below: Code:
robocopy.exe "D:\Documents" "E:\Backup\Documents" /S /ZB /COPYALL /LOG:E:\Backup\Documents.txt /DCOPY:T /R:10 /TEE robocopy.exe "D:\Pictures" "E:\Backup\Pictures" /S /ZB /COPYALL /LOG:E:\Backup\Pictures.txt /DCOPY:T /R:10 /TEE robocopy.exe "D:\Videos" "E:\Backup\Videos" /S /ZB /COPYALL /LOG:E:\Backup\Videos.txt /DCOPY:T /R:10 /TEE robocopy.exe "D:\Music" "E:\Backup\Music" /S /ZB /COPYALL /LOG:E:\Backup\Music.txt /PURGE /DCOPY:T /R:10 /TEE PAUSE EXIT Second problem: I want to make my downloads folder temporary, so files with certain attributes date/size/type etc... are deleted, and/or moved, but i have no idea where to start properly with if statement regarding attributes in batch files.... A lot of this is over my head! Googling is drawing blanks annoyingly so a little nudge in the right direction would be appreciated |
Thread Tools | |
Display Modes | |
|
|