# zfs version
zfs-2.0.0-rc1_444_ge0b34dd9c7
zfs-kmod-zfs-2.0.0-rc1-444-ge0b34dd9c7
# xattr -l time\ copy.txt
com.apple.FinderInfo:
00000000 01 00 08 00 C1 FF FF FF A0 A9 7F 86 C1 FF FF FF |................|
00000010 00 00 00 00 00 00 00 00 08 00 0B 00 00 00 00 00 |................|
00000020
# xattr -c time\ copy.txt
# xattr -l time\ copy.txt
$ xattr -wx com.apple.FinderInfo "0000000000000000000400000000000000000000000000000000000000000000" $a/Presentation1.pptx
$ xattr -l $a/Presentation1.pptx
com.apple.FinderInfo:
00000000 00 00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 |................|
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000020
$ xattr -wx com.apple.FinderInfo "0000000000000000000400000000000000000000000000000000000000000000" $z/Presentation1.pptx
$ xattr -l $z/Presentation1.pptx
$ xattr -l *
Book1.xlsx: com.apple.quarantine: 0086;606c89cc;Microsoft Excel;
Doc1.docx: com.apple.metadata:_kMDItemUserTags:
00000000 62 70 6C 69 73 74 30 30 A0 08 00 00 00 00 00 00 |bplist00........|
00000010 01 01 00 00 00 00 00 00 00 01 00 00 00 00 00 00 |................|
00000020 00 00 00 00 00 00 00 00 00 09 |..........|
0000002a
Doc1.docx: com.apple.quarantine: 0082;606c89b1;Microsoft Word;
Presentation1.pptx: com.apple.metadata:_kMDItemUserTags:
00000000 62 70 6C 69 73 74 30 30 A0 08 00 00 00 00 00 00 |bplist00........|
00000010 01 01 00 00 00 00 00 00 00 01 00 00 00 00 00 00 |................|
00000020 00 00 00 00 00 00 00 00 00 09 |..........|
0000002a
Presentation1.pptx: com.apple.FinderInfo:
00000000 00 00 00 00 2E 97 01 00 60 F8 D1 83 93 FF FF FF |........`.......|
00000010 00 00 00 00 00 00 00 00 51 4B 9A A2 00 00 00 00 |........QK......|
00000020
Presentation1.pptx: com.apple.quarantine: 0086;606c8963;Microsoft PowerPoint;
for f in "$@"
do
date
echo "$f"
/usr/bin/xattr -l "$f"
/usr/bin/xattr -c "$f"
done >> /tmp/xattr.log 2>&1
Tue Apr 6 22:19:59 CST 2021
/Volumes/earth/Testbed/time copy 2.txt
com.apple.FinderInfo:
00000000 01 00 08 00 C1 FF FF FF D0 71 A4 07 C2 FF FF FF |.........q......|
00000010 00 00 00 00 00 00 00 00 08 00 0B 00 00 00 00 00 |................|
00000020
Tue Apr 6 22:19:59 CST 2021
/Volumes/earth/Testbed/time copy 3.txt
com.apple.FinderInfo:
00000000 01 00 08 00 A1 FF FF FF 08 79 35 08 C2 FF FF FF |.........y5.....|
00000010 00 00 00 00 00 00 00 00 08 00 0B 00 00 00 00 00 |................|
00000020
Tue Apr 6 22:19:59 CST 2021
/Volumes/earth/Testbed/time copy 4.txt
com.apple.FinderInfo:
00000000 01 00 08 00 C1 FF FF FF E0 59 29 2E C1 FF FF FF |.........Y).....|
00000010 00 00 00 00 00 00 00 00 08 00 0B 00 00 00 00 00 |................|
00000020
Tue Apr 6 22:20:00 CST 2021
/Volumes/earth/Testbed/time copy 5.txt
com.apple.FinderInfo:
00000000 01 00 08 00 C1 FF FF FF 40 49 A6 4D C1 FF FF FF |........@I.M....|
00000010 00 00 00 00 00 00 00 00 08 00 0B 00 00 00 00 00 |................|
00000020
Tue Apr 6 22:20:00 CST 2021
/Volumes/earth/Testbed/time copy 6.txt
com.apple.FinderInfo:
00000000 01 00 08 00 C1 FF FF FF 28 62 81 07 C2 FF FF FF |........(b......|
00000010 00 00 00 00 00 00 00 00 08 00 0B 00 00 00 00 00 |................|
00000020
Tue Apr 6 22:20:00 CST 2021
/Volumes/earth/Testbed/time copy 7.txt
com.apple.FinderInfo:
00000000 01 00 08 00 C1 FF FF FF 40 F2 9A 30 C1 FF FF FF |........@..0....|
00000010 00 00 00 00 00 00 00 00 08 00 0B 00 00 00 00 00 |................|
00000020
Tue Apr 6 22:20:01 CST 2021
/Volumes/earth/Testbed/time copy 8.txt
com.apple.FinderInfo:
00000000 01 00 08 00 C1 FF FF FF 80 89 B2 2F C1 FF FF FF |.........../....|
00000010 00 00 00 00 00 00 00 00 08 00 0B 00 00 00 00 00 |................|
00000020
Tue Apr 6 22:20:01 CST 2021
/Volumes/earth/Testbed/time copy 9.txt
com.apple.FinderInfo:
00000000 01 00 08 00 C1 FF FF FF 30 79 43 49 C1 FF FF FF |........0yCI....|
00000010 00 00 00 00 00 00 00 00 08 00 0B 00 00 00 00 00 |................|
00000020
Tue Apr 6 22:20:01 CST 2021
/Volumes/earth/Testbed/time copy.txt
com.apple.FinderInfo:
00000000 01 00 08 00 C1 FF FF FF E0 48 9C 30 C1 FF FF FF |.........H.0....|
00000010 00 00 00 00 00 00 00 00 08 00 0B 00 00 00 00 00 |................|
00000020
Tue Apr 6 22:20:02 CST 2021
/Volumes/earth/Testbed/time.txt
com.apple.FinderInfo:
00000000 01 00 08 00 C1 FF FF FF E0 48 9C 30 C1 FF FF FF |.........H.0....|
ZFS-set-this-bit-and-shouldnt-----^^
Users browsing this forum: No registered users and 13 guests