I’m working with the Workflow app on my iPhone to send business receipts (as photos) to OF. Once in OF on my Mac, the pictures are stored in the “com.omnigroup.OmniFocus2” folder.
While I haven’t developed anything at this point, I’ll use Hazel to move or copy the .jpg files to another folder on my mac that is easier to work with when I do my weekly expenses.
My question is what happens to the records in the com.omnigroup.OmniFocus2 folder? When I delete the related task in OF, the files still remain in the com.omnigroup.OmniFocus2 folder.
Another strange thing I’ve seen is when I go to the OF task and double click on the picture, it opens in Preview and the picture replicates in the OF2 folder on my mac…
Depending on how OF and OS X handle this folder will determine whether Hazel copies or deletes the files.
~/Library/Containers/com.omnigroup.OmniFocus2/ and really all the folders in ~/Library are not meant for direct user interaction—these are sandboxed folders for apps to keep their important files in. Because of this. what happens to individual files in those folders is not likely to make sense to the user.
If neither the beginning or the end of your workflow involve OmniFocus, I’d recommend finding another solution for the file sync and just having a repeating OmniFocus item for “process receipts in <app>”. Because it wasn’t designed as a file sync app, OmniFocus is likely the wrong tool to use to sync images around.