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

Compare moodle timemodified with timestamp of local files #77

Open
septatrix opened this issue Oct 18, 2021 · 0 comments
Open

Compare moodle timemodified with timestamp of local files #77

septatrix opened this issue Oct 18, 2021 · 0 comments

Comments

@septatrix
Copy link
Collaborator

Sometimes course instructors upload newer versions of a file to change some mistakes etc.
This would be a relatively simple¹ way to catch those cases and download the newer version.

However if this is implemented we would also provide a solution for cases where all timestamps get updated (e.g. copying the files from one pc to another). For linux this could be done by a recursive touch to a day in the past however it would also be possible to use os.utime to set the timestamp to the one in Moodle. This could actually be done for every downloaded file

¹ In relation to always downloading every file and comparing the checksum.

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