GDriveFS icon indicating copy to clipboard operation
GDriveFS copied to clipboard

modification time not preserved

Open X1011 opened this issue 10 years ago • 2 comments

When I rsync a file to my Drive, the modification time is set to the current time.

~$ ls -l Downloads/myswap 
-rw-r----- 1 dan dan 141 Jul  9 22:47 Downloads/myswap
~$ rsync -a --inplace Downloads/myswap drive/
~$ ls -l drive/myswap
-rw-rw-rw- 1 dan dan 141 Aug 19 21:37 drive/myswap

Whereas, when I rsync it to another directory on my local filesystem, the modification time is preserved.

~$ rsync -a --inplace Downloads/myswap .
~$ ls -l myswap
-rw-r----- 1 dan dan 141 Jul  9 22:47 myswap

log here

X1011 avatar Aug 20 '15 02:08 X1011

Given the way that GDrive handles files, any file you upload is marked as new. Happens with docs and attachments as well. /cheers

TaiSHiNet avatar Sep 07 '15 00:09 TaiSHiNet

But the modification time can be set. Rclone does this.

X1011 avatar Sep 14 '15 22:09 X1011