Solved

Bulk file move

Posted on 2008-10-22
4
539 Views
Last Modified: 2011-10-19
I would like to move all data older than a specific date (in effect archiving off data)

I thought it might be possible to do it in xcopy, but i am not sure of the switches i would need to use, can anyone give me a clue on how to do this or what alternative I could use to move the files.

The files are all held on shared folders and the plan is to move these just once, as they were files transfered from a migration.
0
Comment
Question by:cntboys
4 Comments
 
LVL 4

Assisted Solution

by:teptech
teptech earned 200 total points
Comment Utility
0
 
LVL 1

Accepted Solution

by:
Gzzrt earned 300 total points
Comment Utility
I would recommend using Robocopy is available as a download from Microsoft.

http://www.microsoft.com/downloads/details.aspx?FamilyID=9D467A69-57FF-4AE7-96EE-B18C4790CFFD&displaylang=en

There is an option which will let you specify the age of the file that you either want to include or to exclude.  A potential command would be: prompt>robocopy source destination /minage:n where n is the number of days.  

You can also get a full list of switches by using the tried and true robocopy /?
0
 
LVL 3

Expert Comment

by:Blackninja2007
Comment Utility
looking at the XCopy the only option ( /D:m-d-y) to copy by date does it for dates on of after m-d-y ... I do not believe it can be used to copy before a date). I have attached the Xcopy Switch decription for you in the attached file.


text.txt
0
 

Author Comment

by:cntboys
Comment Utility
Split the points, cheers
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

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 article was inspired by a question here at Experts Exchange (http://www.experts-exchange.com/Software/Photos_Graphics/Images_and_Photos/Q_28629170.html). The requirements stated in that question are (1) reduce the file size of a large number of…
This video discusses moving either the default database or any database to a new volume.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

743 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

19 Experts available now in Live!

Get 1:1 Help Now