recentpopularlog in

kme : spotlight   18

A (slightly) simpler command-line Spotlight search
Any qualified Spotlight query should be usable with "-interpret", so go ahead with
<code class="language-bash">mdfind -interpret "kind:image flash:1 modified:<=1/1/08 ex-girlfriend"</code>
to find those late-night pictures of last year's special someone.
macos  spotlight  metadata  mdfind  commandline  shellscripting  terminal  searchandindex  tipsandtricks  alternativeto  find 
september 2019 by kme
Spotlight Metadata Attributes
You can use these with 'mdfind', e.g., 'kMDItemKind == "Application"'.
mdfind  metadata  spotlight  macos  osx  devel  reference 
september 2019 by kme
Finding Files from the Command Line
At it’s most basic level, mdfind is used as follows:

mdfind -name FileName

For example, to find all appearances of “Photo 1.PNG” the command would be:

mdfind -name "Photo 1.PNG"

Because mdfind is like Spotlight, it can also be used to search the content of files and folders for a specific file. To find all documents containing someones name could be done as follows:

mdfind "Will Pearson"
finder  spotlight  commandline  findingthings  searchandindex  cli  mac  osx  tipsandtricks  solution 
july 2017 by kme
syslogd out of control - MacRumors Forums
1/15/14 3:00:05.471 PM com.apple.mdworker.pool.0: syntax error, unexpected DICTSTART.
1/15/14 3:00:05.471 PM com.apple.mdworker.pool.0: failed to parse embedded CMap.
1/15/14 3:00:05.471 PM com.apple.mdworker.pool.0: syntax error, unexpected DICTSTART.
1/15/14 3:00:05.471 PM com.apple.mdworker.pool.0: failed to parse embedded CMap.


Also:
1/15/14 3:01:16.726 PM com.apple.mdworker.pool.0: trying to parse date
1/15/14 3:01:16.726 PM com.apple.mdworker.pool.0: got cur date
1/15/14 3:01:16.726 PM com.apple.mdworker.pool.0: trying to parse date
1/15/14 3:01:16.726 PM com.apple.mdworker.pool.0: got cur date
storage  mac  osx  errormessage  troubleshooting  spotlight 
january 2014 by kme
10.4: Disable Spotlight on a FAT32 external drive - Mac OS X Hints
mdutil -i off /path/to/volume/: Seems like it would clear the index out, but immediately begin to reindex it.


(All that actually /appears/ to do is create the .metadata_never_index file on the root of the volume. So it /should've/ worked.
mac  osx  spotlight  searchandindex  metadata  annoyance  solution 
december 2013 by kme
Synapse Indicator: New Search AppIndicator Based On Synapse Launcher ~ Web Upd8: Ubuntu / Linux blog
sudo add-apt-repository ppa:elementary-os/daily
sudo apt-get update

Synapse Indicator can be installed in Ubuntu / elementary OS by using the following commands:

sudo add-apt-repository ppa:elementary-os/unstable-upstream
sudo apt-get update
sudo apt-get install indicator-synapse
synapse  indicator  ubuntu  elementaryos  alternativeto  inspiredby  osx  spotlight  ppa 
july 2013 by kme

Copy this bookmark:





to read