blob: 9f1a6cf8a60425109016b61198a5eaa72be640fc [file] [log] [blame]
xf.li6c8fc1e2023-08-12 00:11:09 -07001c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
2SPDX-License-Identifier: curl
3Long: xattr
4Help: Store metadata in extended file attributes
5Category: misc
6Example: --xattr -o storage $URL
7Added: 7.21.3
8See-also: remote-time write-out verbose
9Multi: boolean
10---
11When saving output to a file, this option tells curl to store certain file
12metadata in extended file attributes. Currently, the URL is stored in the
13xdg.origin.url attribute and, for HTTP, the content type is stored in
14the mime_type attribute. If the file system does not support extended
15attributes, a warning is issued.