Discussion Locked

Copying directories/files using a date r

0 helpful
12 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I am attempting to burn an archive of files with their directories from our server to CD-R. I need to copy only those files created/modified within a date range. Xcopy comes close with the /d: option but is limited to the date and newer. Any thoughts?

12 replies

by sdbytnar

Try performing a search and specify the date range of files you want to find. For file name simple use *.*

Sean

by tims

the requirement is build the same directory structure on the CD-R as on the server drive. Doing a find for the criteria works but when selecting the files and sending/dragging to CD-R you get filenames only - no directory structure is preseved.

by deltree

Use your windows explorer advanced search function to find all files from desired directory created/modified in a specific date range. From the list that pops up, you can copy and paste onto your CDR.

by beermonster

The answer to your problems is robocopy, from the reskit. Not only allows you to specify dates, but offers switches galore for folder structures....

by tims

I use Robocopy for other file transfers but date selection is not an option. Can you specify an example syntax?

by deltree

Here is a way, tedius, but it will work. Create the folder on the CDR. Copy and paste the desired files into their respective folders on the CDR.

by tims

This is the very thing I am trying to avoid. I have 8GB of data files that needs to be burned. I did set this up as you mentioned but was hoping to have a date copy solution. Thanks.

by fossil

WINZIP will let you do it, if you can use the Archive BIT rather than a date range.
Create a new archive following these steps:

1) Start at the DESKTOP, so that all drives will be searched.

2) select these options:

Include Subfolders --will walk down
Save extra folder info -- saves the"tree"

Include only if archive bit is set -- only changed / created (includes copied). This is the part that might not fly for your need.

reset archive attribute -- makes sure you don't get teh same file next time

include system and hidden files -- up to you if you want the included.

The first time, it will be HUGE. Subsequent iterations will only give you files that have been modified. You can "start from scratch" by reseting the archive flag off for all files from a command prompt with this:
attrib -A *.* /S

Unfortunately, this

by fossil

sorry -- didn't finish.
Unfortunately, his isn't exactly what you want. If it isn't suitable, a little more info could be helpful:
Is this a "one-time" task or repeated often?
does it need to be comepletly automated is some human intervention permissible? If so, how much tweaking are you willing to do each time?
Is there a chance that the amount of data will exceed the CD-R capacity?
Does the list of candidates need a final review to eliminate unwanted items?

by tims

Interesting idea! You have given me a different way to approach this solution. The Archive bit!. The anwser to your questions are: Automated, no tweak, It will exceed, final review to validate CD.

This discussion is closed to new replies.