Boat Drinks  

Go Back   Boat Drinks > General > Computer and Consoles

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 01-05-2008, 01:25   #1
LeperousDust
Bananaman
 
LeperousDust's Avatar
 
Join Date: Jul 2006
Location: Liverpool/Edinburgh
Posts: 4,817
Default 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
I'm happy to have a carbon copy type process for my music as its a huge collection, but as you can see from the others, its more of an accumulation of files over time. What i'm kinda after is a way to make the documents robocopy process Incremental or Differential, is this feasible?

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
__________________
LeperousDust is offline   Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 10:51.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.