Last active
December 15, 2015 02:46
-
-
Save hackugyo/e7ef610b0213eca8b2b8 to your computer and use it in GitHub Desktop.
Firefoxのセッション(`~/Library/Application Support/Firefox/Profiles/*/sessions/backup.session`)からURLを抜き出して開く。FirefoxからChromeに移行するときとか、Firefoxがどうしてもセッションをリストしなくなったときとか。
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cat sessions/backup.session | sed 1,4d | jq '.windows[0].tabs[].entries[0] |select(.url | startswith("http")) | .url' | xargs open |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment