On 4/29/25 01:46, Aleksei via curl-users wrote:
In many situations you want to use an existing etag in the request
to avoid
downloading the same resource again but also save the new etag if it
has
indeed changed, by using both etag options --etag-save and
--etag-compare,
in the same command line.
--
Looks good to me, I would only add "with the same filename" after
"--etag-compare".
--
I would make that "*possibly* with the same filename". That should
be obvious from the necessary processing sequence, yet I satisfied
myself by experiment that it works.
Perhaps I'm unduly cautious about using the same file for both input
and output for any process.
--
gil
--
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-users
Etiquette: https://curl.se/mail/etiquette.html