site:https://habr.com getfattr
, : site:https://linux.org.ru getfattr
. «» — — « ». — , , -. :i@ars:~$ getfattr -d logo.png
# file: logo.png
user.xdg.origin.url="https://habr.com/images/logo.png"
user.xdg.referrer.url="https://habr.com/images/logo.png"
iMac-Igor:~ [censored]$ xattr -l habr_logo.png
com.apple.metadata:kMDItemWhereFroms:
00000000 62 70 6C 69 73 74 30 30 A2 01 02 5F 10 20 68 74 |bplist00..._. ht|
00000010 74 70 73 3A 2F 2F 68 61 62 72 2E 63 6F 6D 2F 69 |tps://habr.com/i|
00000020 6D 61 67 65 73 2F 6C 6F 67 6F 2E 70 6E 67 5F 10 |mages/logo.png_.|
00000030 20 68 74 74 70 73 3A 2F 2F 68 61 62 72 2E 63 6F | https://habr.co|
00000040 6D 2F 69 6D 61 67 65 73 2F 6C 6F 67 6F 2E 70 6E |m/images/logo.pn|
00000050 67 08 0B 2E 00 00 00 00 00 00 01 01 00 00 00 00 |g...............|
00000060 00 00 00 03 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000070 00 00 00 51 |...Q|
00000074
com.apple.quarantine: 0001;5c8a21e7;Google Chrome;26D6C537-E6B0-4715-9E77-656FF1C5B7A9
user.xdg.origin.url
user.xdg.referrer.url
Nautilus
, attr
, attr- (getfattr setfattr ). Finder cmd+I, xattr
. Windows, , ( ), powershell streams: powershell streams. .
streams [-s] [-d] < >
mount -o nouser_xattr
setfattr -hx user.xdg.origin.url _
xattr -c -r ~/Downloads
get-childitem «D:\Downloads\» | unblock-file
* Changes in Wget 1.20.1
** --xattr is no longer default since it introduces privacy issues.
Source: https://habr.com/ru/post/443694/
All Articles