Solved

robocopy or xxcopy to only copy folders and data which have changed since 1/24/11

Posted on 2011-03-25
7
359 Views
Last Modified: 2012-05-11
Need help constructing a robocopy or xxcopy script which will allow me to copy any data and folders in the same structure as the original folder structure but only items which have changes as of 1/24/2011.
0
Comment
Question by:kapara
7 Comments
 
LVL 4

Expert Comment

by:ebooyens
ID: 35218308
with robocopy just use the /MAXLAD:n switch where n is date of format YYYYMMDD
/e is for all sub-folders and files

with xcopy it's /e and /d:m-d-y

Need anything else?
0
 
LVL 1

Expert Comment

by:vagedis23
ID: 35218741
Use this microsoft tool:
Richcopy 4.0.217.0

Http://dowload.microsoft.com/download/f/d/0/fd05def7-68a1-4f71-8546-25c359cc0842/HoffmanUtilitySpotlight2009_04.exe

It has à simple interface and it allowes you to create a copy job as detailed as you want.

Simple gui, comparable to robocopy, free and very granular.

Excelent for people who don't like scripting.

Good luck
0
 
LVL 15

Expert Comment

by:ZabagaR
ID: 35310841
Give Microsoft's SyncToy a shot. It's actually pretty good and easy to use:

http://www.microsoft.com/downloads/en/details.aspx?FamilyID=c26efa36-98e0-4ee9-a7c5-98d0592d8c52
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 1

Accepted Solution

by:
kapara earned 0 total points
ID: 35353988
Used robocopy and the command needed was:  /MAXAGE:20110121
0
 
LVL 1

Author Comment

by:kapara
ID: 35353991
None of the other solutions could do what I asked.
0
 
LVL 4

Expert Comment

by:ebooyens
ID: 35354777
Sorry, I see I made a typo, glad you got there in the end
0
 
LVL 1

Author Closing Comment

by:kapara
ID: 35381899
Had to use a different parameter but the answer directed me to the best solution.

/MAXAGE:20110121
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The following is a collection of cases for strange behaviour when using advanced techniques in DOS batch files. You should have some basic experience in batch "programming", as I'm assuming some knowledge and not further explain the basics. For some…
Using dates in 'DOS' batch files has always been tricky as it has no built in ways of extracting date information.  There are many tricks using string manipulation to pull out parts of the %date% variable or output of the date /t command but these r…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now