Open gowdy opened 9 years ago
Timestamps are always set to the values reported by OneDrive server since you can't change the timestamps on the server (OneDrive server always generates timestamps itself).
That's a plan for the new OneDrive API (onedrive-d's future-newapi branch will implement it). Once that API stabilizes, I will follow.
Current onedrive-d still uses the old Live API.
Sent from my Windows Phone
From: Stephen J. Gowdymailto:notifications@github.com Sent: 4/22/2015 11:46 AM To: xybu/onedrive-dmailto:onedrive-d@noreply.github.com Cc: Xiangyu Bumailto:xybu92@live.com Subject: Re: [onedrive-d] File times being changed (#156)
You might be able to now...?
Reply to this email directly or view it on GitHub: https://github.com/xybu/onedrive-d/issues/156#issuecomment-95242996
I want to sync all my pictures into onedrive and as they are stored on a LInux server I tried using onedrive-d (thanks!). However, it looks like it modifies the time records in the linux file system. Here is an example before being added;
[gowdy@denise 11November]$ stat dscn0001.jpg File: `dscn0001.jpg' Size: 703602 Blocks: 1376 IO Block: 4096 regular file Device: 817h/2071d Inode: 21234148 Links: 1 Access: (0464/-r--rw-r--) Uid: (22243/ gowdy) Gid: ( 100/ users) Access: 2015-04-16 16:33:26.441125110 +0100 Modify: 2000-11-26 23:49:34.000000000 +0000 Change: 2013-04-17 18:00:28.858704771 +0100
and then after being synced;
[gowdy@denise 11November]$ stat dscn0001.jpg File: `dscn0001.jpg' Size: 703602 Blocks: 1376 IO Block: 4096 regular file Device: 817h/2071d Inode: 48892257 Links: 1 Access: (0464/-r--rw-r--) Uid: (22243/ gowdy) Gid: ( 500/ gowdy) Access: 2015-04-20 09:08:57.689998055 +0100 Modify: 2015-04-16 16:44:04.000000000 +0100 Change: 2015-04-16 16:44:06.249093087 +0100