4 ms·
And so does wget if this report is correct! How can I verify this? I’ve often wanted this information but without having to rely on external book-keeping.
by josteink 8y ago
And so does wget if this report is correct! How can I verify this?
I’ve often wanted this information but without having to rely on external book-keeping.
- anoncake 8y agogetfattr -d <downloaded file>
- callesgg 8y agoxattr -l <downloaded file>
- geofft 8y agoOn most Linux distros you can use the `getfattr` command from the `attr` package, but it's usually not installed by default. http://man7.org/linux/man-pages/man1/getfattr.1.html http://man7.org/linux/man-pages/man1/getfattr.1.html With Python 3.3+, which often is installed by default, you can use os.listxattr() and os.getxattr(). https://docs.python.org/3/library/os.html#linux-extended-attributes https://docs.python.org/3/library/os.html#linux-extended-att...
- aboutruby 8y agoOn macOS: mdls FILENAME `kMDItemWhereFroms` is what you are looking for. And for a list of all the URLs from the current directory: mdls * | grep kMDItemWhereFroms -A 1 | grep http | ruby -ne "puts \$_.strip[1..-2]"
- icebraining 8y agoIt no longer does: https://news.ycombinator.com/item?id=19390748 https://news.ycombinator.com/item?id=19390748