Advertisement

Terminal Tips: Change Safari's history limit

Are you tired of not being able to see all of your browsing history in Safari? Well, with this Terminal hack, you can easily change how many items (or how many days) Safari shows in the History menu. To do this, just open Terminal (/Applications/Utilities/Terminal) and type in one of the following commands:

Limit to number of items:

defaults write com.apple.Safari WebKitHistoryItemLimit 2000

Limit to number of days:

defaults write com.apple.Safari WebKitHistoryAgeInDaysLimit 30

You can you can also use both commands to get both a day and an item limit.

Want more tips and tricks like this? Visit TUAW's Terminal Tips and Mac 101 sections.