backing up new files with old modified dates

niche

New member
Local time
8:56 AM
Messages
18
Which batch command and switch should I use to backup a new file with a old (sometimes very old) Date Modified date in a way that avoids backing up files unnecessarily? I've been using xcopy with the /D switch in my backup.bat and just noticed it's missing my new files that have the old dates.
 

My Computer My Computer

Computer type
PC/Desktop
OS
Microsoft Windows 7 Ultimate 64-bit 7601 Multiprocessor Free Service Pack 1
CPU
Intel(R) Core(TM) i7 CPU 960 @ 3.20GHz
Motherboard
Intel Corporation DX58SO
Memory
6.00 GB
Graphics Card(s)
(1) NVIDIA GeForce 9800 GT (2) NVIDIA GeForce 9800 GT
Sound Card
High Definition Audio Device
Screen Resolution
0 x 0 x 0 bits (0 colors) @ 0 Hz
Hard Drives
(1) Hitachi HDS721010CLA332 ATA Device (2) KINGSTON SNV425S2128GB ATA Device
Take a look into Robocopy, I think you'll find it much more robust than xcopy to do what you are trying.
 

My Computer My Computer

OS
.
That's what I needed. Thanks!
 

My Computer My Computer

Computer type
PC/Desktop
OS
Microsoft Windows 7 Ultimate 64-bit 7601 Multiprocessor Free Service Pack 1
CPU
Intel(R) Core(TM) i7 CPU 960 @ 3.20GHz
Motherboard
Intel Corporation DX58SO
Memory
6.00 GB
Graphics Card(s)
(1) NVIDIA GeForce 9800 GT (2) NVIDIA GeForce 9800 GT
Sound Card
High Definition Audio Device
Screen Resolution
0 x 0 x 0 bits (0 colors) @ 0 Hz
Hard Drives
(1) Hitachi HDS721010CLA332 ATA Device (2) KINGSTON SNV425S2128GB ATA Device
Back
Top