Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save intrepidws/715a8ece92132915ab165fc818430cb2 to your computer and use it in GitHub Desktop.

Select an option

Save intrepidws/715a8ece92132915ab165fc818430cb2 to your computer and use it in GitHub Desktop.

Revisions

  1. @nguyenkims nguyenkims created this gist Oct 10, 2017.
    21 changes: 21 additions & 0 deletions sync-sequel-pro-favorite.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,21 @@
    The sequel pro favorites can be shared between Macs using cloud storage service like Dropbox, Google Drive, OneDrive, etc.

    The trick is to create a file that will be synced using these cloud services and sequel pro favorites file is just a symlink
    to this file.

    The below script is used for OneDrive but it can also work for Dropbox and other cloud storages.

    1. Copy the current sequel pro favorites file

    > cp ~/Library/Application\ Support/Sequel\ Pro/Data/Favorites.plist ~/OneDrive/SequelPro.plist
    2. Delete the sequel pro favorites file

    > rm ~/Library/Application\ Support/Sequel\ Pro/Data/Favorites.plist
    3. Create a symlink that uses the synced file

    > ln -s ~/OneDrive/SequelPro.plist ~/Library/Application\ Support/Sequel\ Pro/Data/Favorites.plist
    and that's all!