xattr.d 591 B

1234567891011121314
  1. c: Copyright (C) 1998 - 2022, Daniel Stenberg, <[email protected]>, 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. ---
  10. When saving output to a file, this option tells curl to store certain file
  11. metadata in extended file attributes. Currently, the URL is stored in the
  12. xdg.origin.url attribute and, for HTTP, the content type is stored in
  13. the mime_type attribute. If the file system does not support extended
  14. attributes, a warning is issued.