copy /u and timestamps

Oct 18, 2008
Hello — what happens with commands like copy /s /u ... ( and move /s /u ) when the file system for the source and target are not then same? In my case, the source is ntfs (well the source is mapped drive from my personal NAS which is running some version of samba) and the target is exFat? I think the that (file) timestamp for exfat is a 32 bit value and ntfs is a 64 bit value to the sub-second. So unless I use the /uf option can the copy/move be skew? Thanks
May 20, 2008
Syracuse, NY, USA
According to the help,

/UFCopy each source file only if it is more than 2 seconds newer than a matching destination file or if a matching destination file does not exist (see also /CF and /U). Do not use /UF with @file lists.

exFAT only knows times to 2-second granularity. The exFAT timestamp has 5 bits devoted to seconds. That's only 32 values so it's interpreted like this:

timestamp 0 = 0 seconds after the minute
timestamp 1 = 2 seconds after the minute
timestamp 2 = 4 seconds ...
timestamp 29 = 58 seconds ...
timestamp 30,31 unused.
May 20, 2008
Syracuse, NY, USA
I have read that even though exFAT uses the DOS date/time format (with 2 second resolution) it can do better. It has another BYTE whose value is a number of 10ms intervals (0 to 199) after the even-second mark (now it can do times to 10ms) and another BYTE to indicate time zone offset (so, in effect, it can do UTC times to 10ms). I think OSs in general mays or may not take advantage of those features.
Oct 18, 2008
Yes --- I found that too -- it seems that MS did publish the specs on exfat, but its not clear what OS'es are using that option order even the timezone field -- I guess since it seems that SDXC cards drove this we can see how the camera makers take advantage of all this -- thanks again for into
Similar threads
Thread starter Title Forum Replies Date
C Copy (sys) error Support 3
Alpengreis Fixed Crash after copy dialog with big TCC.exception.log Support 5
vefatica Copy/Paste anomaly Support 4
D Documentation Typo in COPY help Support 0
samintz COPY fails to copy from \\wsl$ Support 20
D Differences between TCC and CMD with COPY /b Support 4
M Strange error messages from TCC in FTP copy Support 7
G TCMD crash when copy Support 3
Alpengreis How to? Copy DIRs with attributes ... Support 4
E Text copy bug Support 1
Alpengreis [TCMD v25.00.24] Problem with copy and paste and the # char via mouse in TCC Support 6
fpefpe copy/cat Support 7
K copy /w slow relative to robocopy /mir Support 0
Jay Sage Problem with Context Menu Copy+Paste+Run Key Assignment Support 7
K "copy /z /w" command not deleting read-only files in destination Support 10
K copy changing destination current directory Support 1
D Keystroke to copy previous argument Support 3
A How to? Copy+Paste in TCMD tabs with Ctrl-Shift-Ins? Support 5
RChrismon How to? Copy TCMD.INI to New Version Support 7
R How to? Append files in multiple subfolders using copy? Support 8
Dick Johnson COPY /u (?) Support 9
fpefpe Documentation copy /u Support 7
R How to? copy /q ABC.txt + DEF.txt is appending hex 1A Support 8
D copy /g only shows transfer rate Support 1
J Error "Contents lost before copy" Support 3
B Can copy command concatenate multiple mp3 files Support 2
rps Documentation "Copy+Paste+run" question Support 2
kb6ojs Make /G parameter persistent in COPY/MOVE command? Support 4
fpefpe How to? copy / exclude Support 2
fpefpe robocopy -- copy /w Support 8
C copy /w /p prompts for deletion, but ... Support 3
D Fixed Copy Support 1
fpefpe Documentation copy/move using /c or /u Support 2
samintz WAD Copy/append adds a character Support 3
P Simple RegEx copy Support 9
fromano Fixed COPY ... TO ... crashing Support 3
Alpengreis How to? Copy & Paste without linebreak within TCMD Support 13
D COPY returns ERRORLEVEL 2 Support 5
mdwyer TCC 13 COPY: specified network name is no longer available. Support 5
CWBillow Copy a tree Support 17
J junction copy/move handling Support 6
vefatica Fixed COPY /S ftp://... Support 1
C WAD copy /u ftp local with Timeout? Support 5
D How to? Unregister a copy of Take command Support 1
vefatica FTP copy interrupted Support 2
C How to? COPY ftp folder query Support 7
R How to? TCC 16.03: copy a file to the clipboard? Support 10
jadaml Documentation Is COPY realy doesn't work for any HTTP and FTP? Support 3
T TCC control-C copy operation Support 3
Jay Sage Ctrl-C Not Working Reliably to Copy Screen Content Support 4

Similar threads