1--- 2c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al. 3SPDX-License-Identifier: curl 4Long: etag-save 5Arg: <file> 6Help: Parse incoming ETag and save to a file 7Protocols: HTTP 8Added: 7.68.0 9Category: http 10Multi: single 11See-also: 12 - etag-compare 13Example: 14 - --etag-save storetag.txt $URL 15--- 16 17# `--etag-save` 18 19Save an HTTP ETag to the specified file. An ETag is a caching related header, 20usually returned in a response. Use this option with a single URL only. 21 22If no ETag is sent by the server, an empty file is created. 23 24Starting in curl 8.12.0, using the --create-dirs option can also create 25missing directory components for the path provided in --etag-save. 26