Open deladriere opened 10 years ago
Currently the top of my ofexport.json looks like this, but I'm using the version direct from Omni so I don't know what the correct MAS config is at the moment:
"db_search_path": [
"/Library/Containers/com.omnigroup.OmniFocus2/Data/Library/Caches/com.omnigroup.OmniFocus2/OmniFocusDatabase2",
"/Library/Caches/com.omnigroup.OmniFocus/OmniFocusDatabase2",
"/Library/Caches/com.omnigroup.OmniFocus.MacAppStore/OmniFocusDatabase2",
"/Library/Containers/com.omnigroup.OmniFocus2/Data/Library/Caches/com.omnigroup.OmniFocus2/OmniFocusDatabase2"
],
does it need to search the cache folder AND OR the containers folder I have so many of them with the 2 version of Omni so I don't know which path I actually use the only fresh data I can see in the library folder are under /Library/Caches/Metadata/com.omnigroup.OmniFocus2.MacAppStore but I I use only this line in ofexport.json it doesn't works
What might (probably) is confusing you is that ofexport prepends your home directory onto this those paths - which are the names of the actual (possible) sqlite db file names.
For example my db is at:
~/Library/Containers/com.omnigroup.OmniFocus2/Data/Library/Caches/com.omnigroup.OmniFocus2/OmniFocusDatabase2
Which is found by the first entry. If you search in the Library in your home folder from the command line, you should find it (if they haven't renamed it):
find ~/Library/ -name OmniFocusDatabase2
If that finds the new MAS db file you can paste the full path the above command finds (from "/Library/..." onwards) into ofexport.json
I got it to works with this in my ofexport.json header : "/Library/Caches/com.omnigroup.OmniFocus/OmniFocusDatabase2", "/Library/Caches/com.omnigroup.OmniFocus.MacAppStore/OmniFocusDatabase2", "/Library/Containers/com.omnigroup.OmniFocus2.MacAppStore/Data/Library/Caches/com.omnigroup.OmniFocus2.MacAppStore/OmniFocusDatabase2"
many thanks
Great.
Hi I have upgraded Omnifocus to the version 2 from the Mac App store ofexport still use my old database generated before I upgraded I guess I need to edit of export.json but I don't know the path I need to add/correct Thx for your help