Skip to main content

Questions tagged [extended-attributes]

0 votes
1 answer
52 views

SetFile -d can used to used to set birth time attribute to whole second accuracy. How can I set it to higher accuracy? (nanosecond on APFS or millisecond on ExFAT) % SetFile -d "01/02/2023 18:19:...
New to code's user avatar
0 votes
1 answer
113 views

I have just switched a couple of months ago from Sonoma (M1 MBPro) to Sequoia (15.3 and now 15.4.1) (M4 MBPro), and I notice that extended attributes were/are now systematically added almost ...
SquareOne's user avatar
  • 103
5 votes
2 answers
892 views

Is it possible to copy an individual file and preserve its comment? Here is what I have tried. Nothing here works for me on macOS 14.3.1 and Zsh 5.9 (x86_64-apple-darwin23.0). cp file.txt file-copy....
user avatar
0 votes
0 answers
285 views

I have a multi-GB directory tree of documents that I need to keep synchronized between a macOS and a Linux host. I'm thinking of using xattr on Mac OS to remove extended attributes on every single ...
Keith Bennett's user avatar
5 votes
1 answer
1k views

Here is my use case but the question is a general one: how to duplicate a folder and preserve the Date Added info. My Downloads folder is set to Group By and Sort By Date Added. I'd like to clean the ...
lhf's user avatar
  • 7,610
2 votes
3 answers
1k views

If you download a file from the internet using Safari, some extended attributes are added to the downloaded file, among which com.apple.metadata:kMDItemWhereFroms which contains the original URL of ...
ccpizza's user avatar
  • 3,253
2 votes
1 answer
2k views

I have deleted the file com.apple.HIToolbox.plist from /Library/Preferences/ by mistake. I have a copy of the file saved. I hoped the file would be reconstructed after reboot, but that didn't happen. ...
Kolja's user avatar
  • 726
6 votes
0 answers
103 views

I can imagine that there might be an attribute that I could add using xattr, but I have no idea what that attribute would be.
Evert's user avatar
  • 191

15 30 50 per page