Hi
yes you can, though it's not something Safari or OS X can do for you. But with the aid of some other software, it's easy enough (more so than the following step-by-step instructions make it seem) .
---
Get a copy of Prefsetter from
http://www.nightproductions.net/
On each mac - look in Home/Library/Safari/ & locate the file
History.plist.
You need to copy/email one of them to the other mac, or connect via a network so that both can be accessed.
Presumably, the history is important, so I suggest working on renamed duplicates until you're sure it's panned out. Let's assume you have
historyimac.plist &
historymbp.plist.
---
Open
historyimac.plist in Prefsetter, you'll see a entry named
WebHistoryDates - click the arrow to expand it, and then select every item within it - with a long list, it's easiest to use Edit-Select all, and then command click the
WebHistoryDates and
WebHistoryFileVersion to
de-select those two ( a long scroll down to the latter ).
You need
only the Item 1 - Item xxx highlighted. Now use Edit-Copy to copy them to the clipboard.
---
Now open
historymbp.plist in Prefsetter
Select
WebHistoryDates and then use Edit-Paste to paste the clipboard contents into it. You should see the 'xxx items' change to reflect the extra ones - note that the paste may take several seconds or more for thousands of items.
Use File-Save As to save that file as
mergedHistory.plist - the resulting file will be much larger than the sum of the two you opened… don't worry, Safari will take care of that for us.
---
With Safari quit, you now need to move
History.plist out from the Safari folder, and place
mergedHistory.plist in there - then rename it
History.plist.
Open Safari, and you should have history reflecting both macs. If not, & things went South - quit Safari & replace the original
History.plist to revert.
It works perfectly here, but be aware that Safari will remove duplicate sites in history, leaving just the most recently visited entries.