Solved

Copying / Backup of only certain file types.

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

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 …
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…
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.

896 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

20 Experts available now in Live!

Get 1:1 Help Now