• February 23, 2025, 06:52:57 PM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

This Forum Beta is ONLY for registered owners of D-Link products in the USA for which we have created boards at this time.

Author Topic: Why xcopy does not funtion?  (Read 3058 times)

shabuboy

  • Level 2 Member
  • **
  • Posts: 78
Why xcopy does not funtion?
« 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.
Logged

shabuboy

  • Level 2 Member
  • **
  • Posts: 78
SOLVED!!!! Why xcopy does not funtion?
« Reply #1 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).


Logged