Solved

Copying / Backup of only certain file types.

Posted on 2003-12-11
3
236 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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Sometimes a user will call me frantically, explaining that something has gone wrong and they have tried everything (read - they have messed it up more and now need someone to clean up) and it still does no good, can I help them?!  Usually the standa…
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…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

803 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