aboutsummaryrefslogtreecommitdiff
path: root/docs/cmdline-opts/xattr.d
blob: b7553daeb74d4b492ae705530f82585308110e57 (plain)
1
2
3
4
5
6
7
8
Long: xattr
Help: Store metadata in extended file attributes
---
When saving output to a file, this option tells curl to store certain file
metadata in extended file attributes. Currently, the URL is stored in the
xdg.origin.url attribute and, for HTTP, the content type is stored in
the mime_type attribute. If the file system does not support extended
attributes, a warning is issued.