cURL / Mailing Lists / curl-users / Single Mail

curl-users

Storing the URL in extended attributes of the downloaded file

From: Stefan Tomanek <stefan.tomanek_at_wertarbyte.de>
Date: Mon, 18 Oct 2010 00:34:46 +0200

Hello,
I created a small patch that adds a new CLI switch --xattr-url to
the curl command; when activated, curl adds an extended attribue to
the downloaded file, preserving the URL for future reference.
That makes it easy to track down the origin of a once downloaded file.

The patch is available at my github profile:
http://github.com/wertarbyte/curl/tree/xattrurl

-------------------------------------------------------------------
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.html
Received on 2010-10-18