curl-users
Re: Storing the URL in extended attributes of the downloaded file
Date: Mon, 18 Oct 2010 10:34:49 +0200 (CEST)
On Mon, 18 Oct 2010, Stefan Tomanek wrote:
>> 2 - Using extended attributes is a fancy way to store meta data about a
>> downloaded file. Wouldn't it make sense to just call the option '--xattr'
>> or similar to keep the ability open that more meta data than just the URL
>> will get stored eventually?
>
> Might be useful in the future, although for now the URL is the most
> common and useful item I can think of :-)
Sure, but the point would be that calling the option --xattr would then allow
for other data to be added in the future while if you call the option
--xattr-url it kind of implies that only the URL is stored and it _doesn't_ as
easily allow for future additions without changing the command line option or
adding another.
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-users FAQ: http://curl.haxx.se/docs/faq.html Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2010-10-18