MacOS - Remove duplicates in Finder

December 2016




Issue


I have a file that I've slipped in the Finder sidebar and a duplicate icon has appear . When I click on one of them it will open the file.
When I click the other ...... nothing happens.
When I right click on it it tells me "open items in the sidebar"

I've run a clean up with Onyx, but the duplicate files still remain.

Solutions



Method 1:

  • Advantage: speed
  • Disadvantage: requires reconfiguring the sidebar:
    • Move the file to trash " Home > Library > Preferences -> com.apple.sidebarlists.plist"
    • Close your session
  • Restart your session

Method 2:

  • Advantage: removes only the duplicate icon from the sidebar
  • disadvantage: slower
    • Make a right-click the file " Home > Library > Preferences -> com.apple.sidebarlists.plist" menu and choose "Open with ..." and select "Property List Editor"
    • Expand the item "Root"
  • Expand the item "useritems"
  • Expand the item "CustomListItems"
  • Roll out item by item to find the one whose name matches the duplication that is to be eliminated.
  • Once the item is found, delete it by pressing the DEL key
  • I think you'll have to remove two items corresponding to duplicates
  • Exit the application "Property List Editor"
  • To the question "Do you want to save ..." answer "Save"
  • Close your session
  • Restart your session

.

Thanks to Ritchi for this tip.

Related :

This document entitled « MacOS - Remove duplicates in Finder » from CCM (ccm.net) is made available under the Creative Commons license. You can copy, modify copies of this page, under the conditions stipulated by the license, as this note appears clearly.