From: Michal Marek Date: Thu, 13 Oct 2011 08:51:17 +0000 (+0200) Subject: docs: --xattr X-Git-Tag: curl-7_23_0~77 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=54ef47a5a0de388d0ace96cd1c354127888a374d;p=thirdparty%2Fcurl.git docs: --xattr --- diff --git a/docs/curl.1 b/docs/curl.1 index 45e9f52ae3..aa3679e074 100644 --- a/docs/curl.1 +++ b/docs/curl.1 @@ -1594,6 +1594,14 @@ Specifies a custom FTP command to use instead of LIST when doing file lists with FTP. If this option is used several times, the last one will be used. + +.IP "--xattr" +When saving output to a file, this option tells curl to store certain file +metadata in extened 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. + .IP "-y, --speed-time