mirror of
https://github.com/curl/curl.git
synced 2026-08-26 17:43:31 +03:00
save metadata to extended file attributes
It is often convinient to track back the source of a once downloaded file; this patch makes curl store the source URL and other metadata alongside the retrieved file by using the extended attributes (if supported by the file system and enabled by --xattr).
This commit is contained in:
parent
1786950759
commit
fbf51696ef
4 changed files with 58 additions and 2 deletions
|
|
@ -15,11 +15,12 @@ CURLX_ONES = $(top_srcdir)/lib/strtoofft.c \
|
|||
$(top_srcdir)/lib/nonblock.c
|
||||
|
||||
CURL_CFILES = main.c hugehelp.c urlglob.c writeout.c writeenv.c \
|
||||
getpass.c homedir.c curlutil.c os-specific.c
|
||||
getpass.c homedir.c curlutil.c os-specific.c xattr.c
|
||||
|
||||
CURL_HFILES = hugehelp.h setup.h config-win32.h config-mac.h \
|
||||
config-riscos.h urlglob.h version.h os-specific.h \
|
||||
writeout.h writeenv.h getpass.h homedir.h curlutil.h
|
||||
writeout.h writeenv.h getpass.h homedir.h curlutil.h \
|
||||
xattr.h
|
||||
|
||||
curl_SOURCES = $(CURL_CFILES) $(CURLX_ONES) $(CURL_HFILES)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue