diff options
Diffstat (limited to 'docs/cmdline-opts/xattr.d')
-rw-r--r-- | docs/cmdline-opts/xattr.d | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/cmdline-opts/xattr.d b/docs/cmdline-opts/xattr.d new file mode 100644 index 000000000..b7553daeb --- /dev/null +++ b/docs/cmdline-opts/xattr.d @@ -0,0 +1,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. |