From 54ef47a5a0de388d0ace96cd1c354127888a374d Mon Sep 17 00:00:00 2001 From: Michal Marek Date: Thu, 13 Oct 2011 10:51:17 +0200 Subject: docs: --xattr --- docs/curl.1 | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'docs/curl.1') diff --git a/docs/curl.1 b/docs/curl.1 index 45e9f52ae..aa3679e07 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