Pick of the Week - Nov 10 [Show all picks]
Path Finder 5 - A feature-laden Finder replacement
Submit Hint Search The Forums LinksStatsPollsFAQHeadlinesRSS
12,000 hints and counting!

10.6: Add Size and other columns to search results Desktop
I was very disappointed that I couldn't add the Size column to the list view in search results in Snow Leopard like you could do in Tiger, since Apple gave us the impression that Spotlight would include additional ways to sort results in Snow Leopard. Only Date Created and Date Modified were added as options in 10.6; the others are grayed out.

Fortunately, I found a way to force the Size column to appear, as well as Comments, Version and Label columns. You'll have to edit the com.apple.finder.plist file found in ~/Library/Preferences, using the Property List Editor app (included with Xcode) or PlistEdit Pro.

Open the Root node, then navigate down into SearchViewSettings » ListViewSettings » columns. Then choose the column you want to activate in the column list (ie. Size), and set the visible key to yes. Save the .plist and relaunch the Finder (Option-Control-click on the Finder icon in the Dock).

Note: you must have done at least one search, and selected one of the additional columns in the View Options panel for the search results (Date Created, for example), or else your .plist file may not contain the SearchViewSettings node.

Warning: Apple probably disabled these columns for a good reason, as there may be some bugs that could cause problems on your system. I didn't have any problems with the size column, but be warned.

[robg adds: I have no idea why it's taken over three years (and counting) to fix something that worked in 10.4. Until Apple gets it fixed, though, this seems to do the trick. I tested it on my MacBook Pro, and haven't had any problems as of yet. Note that you won't be able to actively enable/disable the columns in the View Options dialog, but all the columns you set to yes will show in your search results -- and once they're showing, you can sort as expected by simply clicking a column heading.]
    •    
  • Currently 5.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (1 vote cast)
 
[5,883 views]  

10.6: Add Size and other columns to search results | 14 comments | Create New Account
Click here to return to the '10.6: Add Size and other columns to search results' hint
The following comments are owned by whomever posted them. This site is not responsible for what they say.
10.6: Add Size and other columns to search results
Authored by: asmeurer on Tue, Sep 8 2009 at 8:03AM PDT
defaults write command anyone?

[ Reply to This | # ]
10.6: Add Size and other columns to search results
Authored by: vl_tone on Tue, Sep 8 2009 at 7:26PM PDT
Unfortunately the "defaults write" command cannot modify nested .plist items like those found in this hint.

[ Reply to This | # ]
10.6: Add Size and other columns to search results
Authored by: V.K. on Tue, Sep 8 2009 at 8:09AM PDT
Great hint!!! The omission of the size column in finder search results in Snow leopard is mysterious and seems to be a bug, actually. it was advertised as possible just before SL launch and this column does show up in "show view options" for search results but is grayed out for some reason.

[ Reply to This | # ]
10.6: Add Size and other columns to search results
Authored by: garcher on Thu, Sep 10 2009 at 8:27AM PDT
I love it -- I found it also works for SMART folders (which are really just saved finder queries anyway).

I'd opened this as a bug back when 10.5 came out and it was eventually closed with the 'will be fixed in a future release'. Imagine my disappointment when it still did not work in SL. So far, size has been the one that I use -- a good way to get the size of various files (dmg, pdfs, presentations).

---
Gary

[ Reply to This | # ]
10.6: Add Size and other columns to search results
Authored by: rjbailey on Tue, Sep 8 2009 at 9:06AM PDT
Cool hint! On point I noticed: I didn't have the option to enable column views within the plist file until I changed some view settings first from the Finder. (Perform any search, hit CMD-J to change options, reopen plist file.)

[ Reply to This | # ]
10.6: Add Size and other columns to search results
Authored by: jctull on Tue, Sep 8 2009 at 9:16AM PDT
Great find! "Size" and "Date Last Modified", rather than the fairly pointless, to me anyway, "Date Last Opened".

[ Reply to This | # ]
10.6: Add Size and other columns to search results
Authored by: BradMacPro on Tue, Sep 8 2009 at 12:12PM PDT
Can this be added in Mac OS 10.5 Leopard?

[ Reply to This | # ]
10.6: Add Size and other columns to search results
Authored by: vl_tone on Tue, Sep 8 2009 at 9:58PM PDT
As far as I know you can't add it in 10.5. I tried to find how and failed.

Leopard uses a different system to display search results and the SearchViewSettings item doesn't exist in the Finder plist.

[ Reply to This | # ]
10.6: Add Size and other columns to search results
Authored by: bigkm on Wed, Sep 9 2009 at 4:16AM PDT
You could change it with converting to xml then changing the value with some xml tool or text tool

plutil -convert xml1 ~/Library/Preferences/com.apple.finder.plist

[ Reply to This | # ]
10.6: Add Size and other columns to search results
Authored by: vl_tone on Wed, Sep 16 2009 at 9:05PM PDT
Be careful with that.

Maybe it works with plutil, but when I tried converting the Finder binary plist to text using Property List Editor, I wound up with a crashing Finder that I could only get back by deleting the plist via the terminal. It seems that some items in the plist (containing hex data) are not converted properly to text.

[ Reply to This | # ]
10.6: Add Size and other columns to search results
Authored by: slswift on Thu, Sep 10 2009 at 8:53AM PDT
Why is this listed under "Desktop Macs" instead of under "Mac OS X (10.6)"?


[ Reply to This | # ]
10.6: Add Size and other columns to search results
Authored by: robg on Fri, Sep 11 2009 at 8:50AM PDT
It was actually supposed to be under Desktop (i.e. Finder), but I mis-selected. Fixed now.

-rob.

[ Reply to This | # ]
Serendipitous discovery
Authored by: gabester on Thu, Sep 24 2009 at 10:25AM PDT
After I installed 10.6 on a test system I was quite disappointed to discover the ability to add standard view columns to search results was hype, seemingly limited to just Date Created and Modified (which was still a far cry better than just Kind and Date Last Opened in Leopard.)

On my primary system, however, I just upgraded from Leopard. After performing a few searches, I finally went into view options to add Date Modified. After checking the checkbox, I noticed that Label had somehow also become checked.

Then I googled and found this hint. I'm speculating that I had customized my Find results in 10.4 and am using a copy of the same user profile that had been upgraded first to Leopard then to Snow Leopard.

I suspect Apple's got these columns disabled at present because they can't get results to automagically appear in the desired sort order if you have something other than name or date selected. Do a search, sort by size, then change the search parameters - the results are regenerated and not sorted despite the size column being highlighted.

Thank goodness someone figured this out. I was seriously considering NOT upgrading to Snow Leopard... now all I'm missing is the tabs on top feature of the Safari 4 Beta which no longer works in SL.
g=

[ Reply to This | # ]
10.6: Add Size and other columns to search results
Authored by: nilo on Thu, Oct 29 2009 at 3:30AM PDT
As I'm not that savvy, I need simplified explanation:

How do I open root node? I downloaded a trial of PlistEdit Pro. What do I do now?

I need the size option.

[ Reply to This | # ]