News for hackers. Stuff that matters.
Re:APFS and HFS+ Benchmarks on 2017 Macbook Pro with MacOS H... by beagle3 on Monday September 25, 2017 @03:40PM (#15333393)
Semi off topic, but ... Is There a way in high Sierra to stop finder from littering every directory with thumbnails and other files?

There was (is?) a configuration that stops it for network paths, and 10.10 used to have aseptic (a kext that redirected those) but as far as I know there was no way in 10.11 or 10.13

Re:APFS and HFS+ Benchmarks on 2017 Macbook Pro with MacOS H... by Fnoord on Monday September 25, 2017 @05:27PM (#15334329)
Yes, that configuration still works [1].

DeathToDSStore [2] works as well, but like Asepsis it requires you to disable SIP, and that's very much not recommended!

I wonder if its possible to hook into Spotlight real-time (with mdfind?) and just delete them right after its created. Together with disabling it on networks that should be "good enough" to not see them. Might be problematic with removeable media such as USB sticks though. If you're sync/unmounting those via command line, consider a find with xargs [3] on that media before unmounting.

I haven't looked at Blue Harvest as already suggested. If that still works (without disabling SIP) I'm curious how they do that.

[1] defaults write com.apple.desktopservices DSDontWriteNetworkStores true

[2] https://github.com/snielsen/DeathToDSStore

[3] find /path_to_USB_media -name .DS_Store -print0 | xargs -0 rm

Re:APFS and HFS+ Benchmarks on 2017 Macbook Pro with MacOS H... by gumby on Monday September 25, 2017 @08:14PM (#15335214)
> I wonder if its possible to hook into Spotlight real-time (with mdfind?) and just delete them right after its created.

Not Spotlight but the File System Events API, which was designed for precisely this kind of thing.

Re:APFS and HFS+ Benchmarks on 2017 Macbook Pro with MacOS H... by BrowncoatShadow on Tuesday September 26, 2017 @09:51AM (#15338591)
Please note, DSDontWriteNetworkStores only prevents finder from writing metadata files to network filesystems, as the configuration key name suggests. It does not prevent it from writing metadata on your local filesystems, you will either need to use something like DeathToDSStore (requires disabling SIP), or remove them regularly post-creation.
Re:APFS and HFS+ Benchmarks on 2017 Macbook Pro with MacOS H... by robin_reala on Monday September 25, 2017 @03:52PM (#15333516)
Blue Harvest doesn’t stop the files from being created but it deletes them when it sees them automatically. Haven’t used it in years but the release notes mention APFS as supported. http://zeroonetwenty.com/blueharvest/