On Mon, Oct 18, 2010 at 12:48:14PM +0200, Petr Pisar wrote: > On Mon, Oct 18, 2010 at 12:27:24PM +0200, Michelle Konzack wrote: > > Am 2010-10-17 22:38:51, hacktest Du folgendes herunter: > > > I created a patch to store the URL inside the user xattrs of the > > > downloaded file; this way, its origin can be identified afterwards. > > > > > > I uploaded the change to my Github account and attached the diff, and > > > I am still working on portability issues, but I'd like to hear some > > > opinions on this: > > > > > > http://github.com/wertarbyte/wget/tree/xattrurl > > > > I am right that this works only on Windos and not GNU/Linux? > > > See my patch for wget > <http://article.gmane.org/gmane.comp.web.wget.general/7894>. It works on > GNU/Linux, IRIX and Darwin. Other option is to use libattr as the API is not > standardized (it support IRIX and GNU/Linux only). FreeBSD has yet another > API. >
Just if somebody is still interested (maybe new wget maintainer), rebased patch against 1.13.3 is still available on <http://xpisar.wz.cz/wget-xattr/>. -- Petr
pgpNWXhdvliTt.pgp
Description: PGP signature