conception_native_0123
Well-known member
- Local time
- Today, 06:21
- Joined
- Mar 13, 2021
- Messages
- 1,834
since my accent has been discovered, I will talk regularly....
I attached a txt that I am keeping notes on robocopy. what i'm looking to do is use the /XO switch and apply it to all files in all subdirs. but, when I run this code in a bat file...
....files with newer modified stamps in the following subdirs are not copied from their source subdirs to the target subdirs. can someone tell me why? thanks.
c:\1\a
c:\1\b
c:\1\c
here are some example files I have in the source dirs, the equivalent files in the target dirs, and all the stamps that they have in both subdirs that are skipped:
c:\1\a (5/14/2021 4:33am) => c:\2\a (5/4/2021 11:23am)
c:\1\b (5/13/2021 2:29pm) => c:\2\b (5/7/2021 4:00am)
c:\1\c (5/13/2021 2:29pm) => c:\2\c (2/14/2021 9:22am)
all the files in the "c:\1\..." subdirs should be copied, but they are not.
I attached a txt that I am keeping notes on robocopy. what i'm looking to do is use the /XO switch and apply it to all files in all subdirs. but, when I run this code in a bat file...
Code:
robocopy c:\1 c:\2 /XO /E
c:\1\a
c:\1\b
c:\1\c
here are some example files I have in the source dirs, the equivalent files in the target dirs, and all the stamps that they have in both subdirs that are skipped:
c:\1\a (5/14/2021 4:33am) => c:\2\a (5/4/2021 11:23am)
c:\1\b (5/13/2021 2:29pm) => c:\2\b (5/7/2021 4:00am)
c:\1\c (5/13/2021 2:29pm) => c:\2\c (2/14/2021 9:22am)
all the files in the "c:\1\..." subdirs should be copied, but they are not.