Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

modification time not preserved #143

Open
X1011 opened this issue Aug 20, 2015 · 2 comments
Open

modification time not preserved #143

X1011 opened this issue Aug 20, 2015 · 2 comments

Comments

@X1011
Copy link

X1011 commented Aug 20, 2015

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

@TaiSHiNet
Copy link

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

@X1011
Copy link
Author

X1011 commented Sep 14, 2015

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants