Context
I cannot seem to be able to get TimeMachine to backup my HD, because a given directory seems to contain corrupted files so that I get this kind of message in the Console:
com.apple.backupd: Indexing a file failed. Returned 1 for: /Users/JohnDoe/This.Folder/this.file
Question
How to request that spotlight indexes one specific folder only?
My purpose is to identify in one shot all the defective files
Ideally I would prefer that the indexing be temporarily and quick (I.e it should not impact the default index) since my purpose is to identify defective files.
mdimport /path/to/target/folder? – user3439894 Apr 01 '17 at 15:01(Error) ImportPluginLoading: Couldn't load plugin 'Spotlight/LyX-Metadata.mdimporter/ -- file://localhost/Applications/LyX.app/Contents/Library/'– chris Apr 01 '17 at 18:46