Solved

Copying / Backup of only certain file types.

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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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 …
As the title indicates, I have done this before. It chills me everytime I update the OS on my phone, (http://www.experts-exchange.com/articles/18084/Upgrading-to-Android-5-0-Lollipop.html) because one time I did this and I essentially had a bricked …
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.

840 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