How do I recover tab / session information from Chrome / Chromium?
If I can no longer run chrome itself, How can I recover tab information from files in the chrome profile directory?
Solution 1:
Use ccl-ssns (before on Google Code) with the 'Last Tab' and 'Last Session' files in
-
Windows 7, 8.1, and 10:
C:\Users\<username>\AppData\Local\Google\Chrome\User Data\Default
-
Mac OS X:
Users/<username>/Library/Application Support/Google/Chrome/Default
-
Linux:
/home/$USER/.config/google-chrome/Default
The Tabs listed in the output HTML with index '0' are the last tabs open.
Solution 2:
Attention to passerbys!
The two answers here are both outdated as of July 2021.
The Current Session|Tabs files are no longer used.
But you will find in the Default/Sessions/
folder lies the last two sessions and tabs files.
Solution 3:
The files that restored my session from the backup files where:
.config/google-chrome/Default/Current\ Session
And
.config/google-chrome/Default/Current\ Tabs
Just copy the files to /home/username/.config/google-chrome/Default