Solved

move old files

Posted on 2010-08-16
3
458 Views
Last Modified: 2013-11-09
is there command similar to xcopy to move files older then some date to another folder, creating the same folder structure as in original folder.  
0
Comment
Question by:Larissa T
3 Comments
 
LVL 3

Assisted Solution

by:mchieff
mchieff earned 150 total points
ID: 33450528
Robocopy.
Its included with Vista/7 but you'll need the XP resource kit if you have XP.
The command would be "robocopy *source* *destination* /maxage:180 /move"
This would move all files and directories older than 180 days.
The command supports dates as well.
Just run "robocopy /???" for usage
0
 
LVL 51

Accepted Solution

by:
Bill Prew earned 350 total points
ID: 33450552
I would agree, most people would use ROBOCOPY for that task.  If you don't have a copy, it is included in the Robocopy GUI add on tool at this link:

http://technet.microsoft.com/en-us/magazine/2006.11.utilityspotlight.aspx

In addition, there is another similar tool that claims to be more powerful, but it hasn't seemed to catch on quite as well:

http://technet.microsoft.com/en-us/magazine/2009.04.utilityspotlight.aspx

Lastly, I use a third party tool called XXCOPY that is also very good at these types of things.  There is a free version for personal use.

http://www.xxcopy.com/index.htm

~bp
0
 
LVL 11

Author Closing Comment

by:Larissa T
ID: 33451553
Thanks
0

Featured Post

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

Join & Write a Comment

In this tutorial I will aim to show you how simple is making a small application in WhizBase, how to add, remove and update data in the DB. I will make a small address book application where you can add, browse, update and remove addresses. I wi…
If you get a (Blue Screen of Death), your system writes a small file called a minidump. Your first step is to make certain your computer is setup to record memory dumps. Right click My Computer, choose properties. Click on the advanced tab, an…
Learn the basics of modules and packages in Python. Every Python file is a module, ending in the suffix: .py: Modules are a collection of functions and variables.: Packages are a collection of modules.: Module functions and variables are accessed us…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

762 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

21 Experts available now in Live!

Get 1:1 Help Now