GDriveFS
GDriveFS copied to clipboard
modification time not preserved
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
Given the way that GDrive handles files, any file you upload is marked as new. Happens with docs and attachments as well. /cheers
But the modification time can be set. Rclone does this.