How to perform an action when a remote (Http) file changed?
Posted
by ZeissS
on Stack Overflow
See other posts from Stack Overflow
or by ZeissS
Published on 2010-05-28T11:41:01Z
Indexed on
2010/05/28
11:51 UTC
Read the original article
Hit count: 153
Hi,
I want to create a script that checks an URL and perform an action (download + unzip) when the "Last-Modified" header of the remote file changed. I thought about fetching the header with curl but then I have to store it somewhere for each file and perform a date comparison.
Does anyone have a different idea using (mostly) standard unix tools?
thanks
© Stack Overflow or respective owner