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