D-Link Forums

The Graveyard - Products No Longer Supported => D-Link Storage => DNS-320 => Topic started by: shabuboy on November 09, 2011, 08:23:11 PM

Title: Why xcopy does not funtion?
Post by: shabuboy on November 09, 2011, 08:23:11 PM
Hello,

Just got my DNS-320 two days ago. Call me old fashion, but they way I used to copy/backup from my PC to the external USB hard drive was using a batch file with:

xcopy "D:\folder" "J:\folder" /I /D /S /Y

D: local folder
J: USB hard drive

It works perfectly with the USB external hard drive and it only copies new and changed files.

However, if I mount the DNS-320 folder and use it as destination, it just copied files over and over.

xcopy "D:\folder" "T:\folder" /I /D /S /Y

D: local folder
T: DNS-320 mounted folder

It seems it ignores the /D option: Copies files changed on or after the specified date. If no date is given, copies only those files whose source time is newer than the destination time.

Got the same results using "robocopy".

Is it due to Windows 7 vs Linux? Timestamp perhaps? Both systems are set for NTP with the correct times.
Title: SOLVED!!!! Why xcopy does not funtion?
Post by: shabuboy on November 09, 2011, 09:13:11 PM
Well found the answer...

I'm using robocopy with the /FFT switch option even when the PC drives are NTFS.

/FFT : Assume FAT File Times (2-second date/time granularity).