Created
March 14, 2012 14:37
-
-
Save AAS/2036916 to your computer and use it in GitHub Desktop.
OS X 10.7 Lion Finder - Folders on top
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
This does not seem to work in 10.8.4 anymore?
I tried to sort a folder content by Name, so ideally, I would expect folders are sorted by themselves at the top with files sorted by themselves below folders. But even with this fix, it doesn't seem to have any behavior changes.