Solved

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

Posted on 2011-03-25
7
373 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
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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.

 
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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

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…
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…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

838 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