Skip to Content

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.

Categories

Terminal Tips

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...
 

Add a Comment

*0 / 3000 Character Maximum

2 Comments

Filter by:
john russell

I was about to go set mine to go back at least a year, but then I looked, and Safari's history already goes back even further. What's the default?

September 05 2008 at 1:06 AM Report abuse rate up rate down Reply
resonance man

Anyone know how to do the same with the Firefox 3 History menu?

September 04 2008 at 2:40 PM Report abuse rate up rate down Reply
Buy an ad here

Hot Apps on TUAW

Tweets

© 2012 AOL Inc. All Rights Reserved.