Skip to content

Instantly share code, notes, and snippets.

@tjluoma
Last active July 16, 2018 02:59
Show Gist options
  • Save tjluoma/8ac444b2ecbd83e674c73f91e9ddba4e to your computer and use it in GitHub Desktop.
Save tjluoma/8ac444b2ecbd83e674c73f91e9ddba4e to your computer and use it in GitHub Desktop.
A ".savedSearch" file for Mac OS X for use with Spotlight, designed to find Dropbox's "conflicted copies". It should be saved to the ~/Library/Saved Searches/ folder and named something like "Dropbox-Conflicts.savedSearch". Be sure to change "YOUR-HOMEDIR-HERE" to your actual Home directory name.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CompatibleVersion</key>
<integer>1</integer>
<key>RawQuery</key>
<string>(kMDItemDisplayName = "*s conflicted copy*"cd)</string>
<key>RawQueryDict</key>
<dict>
<key>FinderFilesOnly</key>
<true/>
<key>RawQuery</key>
<string>(kMDItemDisplayName = "*s conflicted copy*"cd)</string>
<key>SearchScopes</key>
<array>
<string>/Users/YOUR-HOMEDIR-HERE/Dropbox</string>
</array>
<key>UserFilesOnly</key>
<true/>
</dict>
<key>SearchCriteria</key>
<dict>
<key>FXCriteriaSlices</key>
<array>
<dict>
<key>criteria</key>
<array>
<string>kMDItemDisplayName</string>
<integer>100</integer>
<integer>104</integer>
</array>
<key>displayValues</key>
<array>
<string>Name</string>
<string>contains</string>
<string>s conflicted copy</string>
</array>
<key>rowType</key>
<integer>0</integer>
<key>subrows</key>
<array/>
</dict>
<dict>
<key>criteria</key>
<array>
<string>kMDItemKind</string>
<integer>300</integer>
<integer>400</integer>
</array>
<key>displayValues</key>
<array>
<string>Kind</string>
<string>is</string>
<string>any</string>
</array>
<key>rowType</key>
<integer>0</integer>
<key>subrows</key>
<array/>
</dict>
</array>
<key>FXScope</key>
<integer>1396929382</integer>
<key>FXScopeArrayOfPaths</key>
<array>
<string>/Users/YOUR-HOMEDIR-HERE/Dropbox</string>
</array>
</dict>
<key>SuggestedAttributes</key>
<array/>
<key>ViewSettings</key>
<dict>
<key>WindowState</key>
<dict>
<key>ContainerShowSidebar</key>
<true/>
<key>ShowPathbar</key>
<true/>
<key>ShowSidebar</key>
<true/>
<key>ShowStatusBar</key>
<true/>
<key>ShowTabView</key>
<false/>
<key>ShowToolbar</key>
<true/>
<key>WindowBounds</key>
<string>{{70, 0}, {1370, 877}}</string>
</dict>
</dict>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment