Solved

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

Posted on 2011-03-25
7
354 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
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

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…
YESTERDAY YESTERDAY.BAT is inspired by a previous article I wrote entitled: TOMORROW.BAT (http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/MS_DOS/A_4196-Advanced-Batch-File-Programming-TOMORROW-BAT.html). The crux of this batch f…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

705 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

23 Experts available now in Live!

Get 1:1 Help Now