This workflow retrieves iCloud tabs from the local ~/Library/SyncedPreferences/com.apple.Safari.plist file for all connected iCloud devices and displays the links. Tabs from current device are excluded.
NOTE: This doesn't work in macOS 10.13 High Sierra since the contents of com.apple.Safari.plist are now encrypted.
tabskeyword for showing list of tabs with device indicated.alltabskeyword to open all tabs at once.tabdumpkeyword to dump all tabs as date-stamped markdown file to desktop.
- September 5 2013; updated to work when devices in the plist file don't have any tabs.
- October 25 2013; added
alltabsfor opening all links from all devices at once. - February 2 2014; added
tabdumpto export a markdown file on the desktop with all tabs from all devices. - March 6 2014; added filtering with optional keyword (thanks Felipe Manoeli!).
- March 7 2014; tabdump no longer requires the non-default mechanize library to fetch page titles.