Robocopy files not having archive bit set

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?
LMMSAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
MarblemanConnect With a Mentor Commented:
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
 
Bryan ButlerCommented:
According to this, the /a should do it:

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

Are you using 2008?
0
 
LMMSAuthor Commented:
Ths /XA:A switch works. I overlooked it when looking at all the possible settings. Thanks
0
All Courses

From novice to tech pro — start learning today.