Solved

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

Posted on 2011-03-25
7
376 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

 
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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

TOMORROW TOMORROW.BAT is inspired by a question I get asked over and over again; that is, "How can I use batch file commands to obtain tomorrow's date?" The crux of this batch file revolves around the XCOPY command - a technique I discovered w…
Introduction: Recently, I got a requirement to zip all files individually with batch file script in Windows OS. I don't know much about scripting, but I searched Google and found a lot of examples and websites to complete my task. Finally, I was ab…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

726 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