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

Preserve Last Modified Date when Exporting Documents #9

Open
jamesmortensen opened this issue Apr 21, 2021 · 1 comment
Open

Preserve Last Modified Date when Exporting Documents #9

jamesmortensen opened this issue Apr 21, 2021 · 1 comment

Comments

@jamesmortensen
Copy link

Thanks for creating such an awesome tool for quickly backing everything up locally from Quip! I have about a half a decade of documents in quip, and I thought it would be helpful to preserve the last modified time of documents and either include this in metadata, either within the file or in a folder-level JSON file (the "easy" solution), or directly manipulate the timestamps when saving to the local filesystem (a more difficult solution).

For instance, when using adb to pull files from my Android phone to my local hard-drive, I can pass -a to preserve timestamps.

Thank you again!

@jamesmortensen
Copy link
Author

It looks like Node.js fs module has an API to change file timestamps called fs.utimes and Quip's getFolder API returns modified timestamp in a updated_usec property in the response. The thread API also returns an updated_usec timestamp.

I think this can be done. Would you consider a pull request?

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

1 participant