Need to copy directory structure based on date

H

Hank Arnold

I need to burn (and then delete) a bunch of files off of a server based on
having a "last modified" date earlier than a specified date. I want to do it
while preserving the directory structure. I use Nero V6 but can't see any
way to do it. I'm also burning onto CD, not DVD's, so I'll be doing it by
year (1991, 1992, etc.).

XCOPY will do it based on being *later* than a certain date, but I need
*earlier* than a date.

Any ideas? Obviously, free is best, but I'll consider paid if necessary.
I'll be doing the on several servers and network drives, so I might be able
to justify based on time saved.
 
T

Torgeir Bakken \(MVP\)

Hank said:
I need to burn (and then delete) a bunch of files off of a server based on
having a "last modified" date earlier than a specified date. I want to do it
while preserving the directory structure. I use Nero V6 but can't see any
way to do it. I'm also burning onto CD, not DVD's, so I'll be doing it by
year (1991, 1992, etc.).

XCOPY will do it based on being *later* than a certain date, but I need
*earlier* than a date.
Hi

Microsoft's Robocopy.exe and using the switch /MINAGE:n is an option.

/MINAGE:n
Excludes files with a Last Modified Date newer than n days or specified
date. If n is less than 1900, then n is expressed in days. Otherwise,
n is a date expressed as YYYYMMDD.


Robocopy.exe is available here:

Windows Server 2003 Resource Kit Tools
http://www.microsoft.com/downloads/...69-57ff-4ae7-96ee-b18c4790cffd&DisplayLang=en

(The kit will install on WinXP or later and you can copy only
needed files to other computers)

See rktools.chm and robocopy.doc for documentation for Robocopy.exe.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top