Solved

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

Posted on 2011-03-25
7
381 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
Enroll in June's Course of the Month

June’s Course of the Month is now available! Experts Exchange’s Premium Members, Team Accounts, and Qualified Experts have access to a complimentary course each month as part of their membership—an extra way to sharpen your skills and increase training.

 
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: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

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…
VALIDATING DATES One method of validating dates is to jam the date into the DATE command and see if it accepts it by examining the system's errorlevel value. A non-zero result indicates failure. A typical example might look something like the fol…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

717 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