Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Create a Time Machine-like feature for Safari tabs' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Create a Time Machine-like feature for Safari tabs
Authored by: douglsmith on Sep 16, '08 11:34:50AM

I tend to keep Safari running with a lot of tabs open so this has been working great for me.

This does leave a large number of files in that folder over time so I added a line to the shell script to delete any files more than a week old:

find ~/Library/Safari/LastSessionTimeMachine -name 'LastSession*' -type f -ctime +7 -delete

Now it does housecleaning each time a new backup is added to the folder. You can change the +7 to a different number of days to suit your needs.



[ Reply to This | # ]