Skip to content

Instantly share code, notes, and snippets.

@c10b10
Forked from AAS/gist:2036916
Created August 24, 2012 09:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save c10b10/3447964 to your computer and use it in GitHub Desktop.
Save c10b10/3447964 to your computer and use it in GitHub Desktop.
OS X 10.7 Lion Finder - Folders on top
Open Terminal.
Type this command:
cd /System/Library/CoreServices/Finder.app/Contents/Resources/English.lproj/
Now, the file we want to mess around is the InfoPlist.strings. But unfortunately, this file cannot be edited directly using text editor in Lion. But no worries. Run this command to make it editable.
sudo plutil -convert xml1 InfoPlist.strings
Now the file should be editable and readable. Use your favorite text editor and open InfoPlist.strings. I just used vim
sudo vim InfoPlist.strings
Inside you’ll find XML document. Go to the following lines:
<key>Folder</key>
<string>Folder</string>
All you have to do is to add a space before the second Folder like this:
<key>Folder</key>
<string> Folder</string>
Save the file. Convert the file to binary again using the following command.
sudo plutil -convert binary1 InfoPlist.strings
Restart Finder.
killall Finder
That’s it!
http://nicnocquee.com/put-folders-on-top-when-sort-by-kind-in-mac-o
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment