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

downloading mde_installer.sh file with the file creation timestamp #109

Open
xender69 opened this issue Sep 11, 2023 · 1 comment
Open

Comments

@xender69
Copy link

hi guys,

As the title indicates, how can I download the install script with the time stamp of the file instead of the timestamp of the date that I downloaded. I tried using curl -R or wget -S but still the file is getting timestamped with the download date instead of the file creation date.
Thank you.

@anoliveiraM
Copy link

You cannot do this as in order to do this the server which holds the file would have to set the header Last-Modified when sending the data, which it does not, but if it did you would download the file like so:

wget --timestamping https://raw.githubusercontent.com/microsoft/mdatp-xplat/master/linux/installation/mde_installer.sh
or
curl -R -O https://raw.githubusercontent.com/microsoft/mdatp-xplat/master/linux/installation/mde_installer.sh

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