I've found this bug also in Mac. The problem is as stated, that every file with date set to 1 Jan 1970 does not get synced . The message "bad timestamp" is not very helpful here.
For example, that's the result of ls:
$ ls -al@
total 48
drwxr-xr-x 7 dfreniche staff 238 31 ago 2012 .
drwxr-xr-x 17 dfreniche staff 578 31 ago 2012 ..
-rw-r--r--@ 1 dfreniche staff 3892 1 ene 1970 toolkit_gwt.png
com.dropbox.attributes 162
-rw-r--r--@ 1 dfreniche staff 3675 1 ene 1970 toolkit_swing.png
com.dropbox.attributes 160
-rw-r--r--@ 1 dfreniche staff 3894 1 ene 1970 toolkit_swt.png
com.dropbox.attributes 160
-rw-r--r--@ 1 dfreniche staff 4007 1 ene 1970 toolkit_xwt.png
com.dropbox.attributes 161
-rw-r--r-- 1 dfreniche staff 6455 1 ene 1970 toolkits.xml
All these are files copied from Dropbox, and I'm showing the special attributes (this is a Mac only feature).
The final solution would be to have a setting to allow set the date of those files to the current date. A workaround in the meantime is to create a script that does exactly this. I've written that script, and tested. It's here:
Skipping file ... with bad timestamp
in Sync General Discussion
Posted
Hi all
I've found this bug also in Mac. The problem is as stated, that every file with date set to 1 Jan 1970 does not get synced . The message "bad timestamp" is not very helpful here.
For example, that's the result of ls:
$ ls -al@
total 48
drwxr-xr-x 7 dfreniche staff 238 31 ago 2012 .
drwxr-xr-x 17 dfreniche staff 578 31 ago 2012 ..
-rw-r--r--@ 1 dfreniche staff 3892 1 ene 1970 toolkit_gwt.png
com.dropbox.attributes 162
-rw-r--r--@ 1 dfreniche staff 3675 1 ene 1970 toolkit_swing.png
com.dropbox.attributes 160
-rw-r--r--@ 1 dfreniche staff 3894 1 ene 1970 toolkit_swt.png
com.dropbox.attributes 160
-rw-r--r--@ 1 dfreniche staff 4007 1 ene 1970 toolkit_xwt.png
com.dropbox.attributes 161
-rw-r--r-- 1 dfreniche staff 6455 1 ene 1970 toolkits.xml
All these are files copied from Dropbox, and I'm showing the special attributes (this is a Mac only feature).
The final solution would be to have a setting to allow set the date of those files to the current date. A workaround in the meantime is to create a script that does exactly this. I've written that script, and tested. It's here:
https://gist.github.com/dfreniche/6090995
Greets!