Solved

Copying / Backup of only certain file types.

Posted on 2003-12-11
3
232 Views
Last Modified: 2012-05-04
OK... Here's the deal.

I need to archive some data from the corporate nework with this contraints:

1. I have 30-40 GB of data on the coporate network.  
2. I need to archive about 1/2 of the data according to 4 different file extensions.  
3. I need to maintain the origional paths for the files.
4. I am limited to using only installed corporate software on the computer.  (Neo DVD Burn software)
5. I have about 9 GB free space on the network to potentially copy files to before burning to DVD.
6. Running Windows 2000

Can I do something with changing the archive bit to accomplish this and some kind of xcopy?

Much thanks for your help.
0
Comment
Question by:mjhines
  • 2
3 Comments
 
LVL 22

Expert Comment

by:pjedmond
ID: 9923209
REM Set archive attributes on files to be copied
ATTRIB +A C:\*.exe /S
ATTRIB +A C:\*.txt /S

REM Copy the files and reset the achive attributes
XCOPY source destination /M /E /V /H /K /O
0
 
LVL 22

Accepted Solution

by:
pjedmond earned 40 total points
ID: 9923216
Obviously before you use this for the first time, you will need to ensure that you clear the archive bit on all the files:

ATTRIB -A C:\* /S
0
 

Author Comment

by:mjhines
ID: 9923339
Thanks... that is exactly what I was thinking of.

0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Hello I read in a discussion about a person who configured a very simple mirror RAID with two hard drives; the system and data were on the same partition. He asked how to repair the system as it was not booting up anymore. In his case running …
Windows 10 is here and for most admins this means frustration and challenges getting that first working Windows 10 image. As in my previous sysprep articles, I've put together a simple help guide to get you through this process. The aim is to achiev…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

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

9 Experts available now in Live!

Get 1:1 Help Now