2
0

xattr.d 593 B

123456789101112131415
  1. c: Copyright (C) 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.