Solved

Robocopy files not having archive bit set

Posted on 2010-09-08
3
998 Views
Last Modified: 2013-11-09
I setting up a process to move/copy files off of a server with robocopy. Each day I copy files to a remote storage server. To easily and visually keep track of what files have been copied (I also write a log) I change the archive bit on the source files with the /M switch during the copy. Later I want to move the files that don't have the archive bit set to a different folder. Is there a switch or other way to have robocopy "see" the bit is not set and only move those files?
0
Comment
Question by:LMMS
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 3

Accepted Solution

by:
Marbleman earned 250 total points
ID: 33631588
Take a look at the /XA Option: /XA[A] could solve the problem because it is supposed to exclude all files with the Archive-Flag set...
0
 
LVL 16

Expert Comment

by:Bryan Butler
ID: 33631617
According to this, the /a should do it:

http://technet.microsoft.com/en-us/library/cc733145(WS.10).aspx

Are you using 2008?
0
 

Author Closing Comment

by:LMMS
ID: 33664398
Ths /XA:A switch works. I overlooked it when looking at all the possible settings. Thanks
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article summaries thoughts and ideas from two years of sustained use. It provides good reasoning to make the jump to Windows 10.
Ever visit a website where you spotted a really cool looking Font, yet couldn't figure out which font family it belonged to, or how to get a copy of it for your own use? This article explains the process of doing exactly that, as well as showing how…
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

617 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