The Omni Group
These forums are now read-only. Please visit our new forums to participate in discussion. A new account will be required to post in the new forums. For more info on the switch, see this post. Thank you!

Go Back   The Omni Group Forums > OmniFocus > OmniFocus 1 for Mac
FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
Please move datafile to Documents folder Thread Tools Search this Thread Display Modes
I don't like having my .ofocus file in ~/Library/Application Support/OmniFocus/OmniFocus.ofocus. It's outside my "normal" backup locations and, Apple says don't do it:

Quote:
Important: You should not store user data files in the Library directory or any of its subdirectories. If your application stores the user’s data automatically—that is, without prompting the user for a location—you should choose a more appropriate location (usually the Documents directory) inside the user’s home directory.
http://developer.apple.com/documenta...Directory.html

(I know this has come up here before; it bugs me.)

Jason.

[Filed as official feedback.]
 
I agree.

Especially because I use backup software (retrospect) to back up my user. I will always back up my documents, because I think of that folder as... my own personal stuff.

I get bugged when applications, and there are a lot of them, write data into my documents folder that has nothing to do with my data.

And I get bugged when applications hide my personal data in the library folder where all the other application data is.

I've lost some personal data when my computer has crashed and I had mistakenly forgot to backup the library.

On the same note, Apple stores all my mail messages in the library. Why? It's my mail messages, why doesn't it put it in the documents folder?
And safari bookmarks, and the address book, and iCal? All of that goes into the library as well.

Maybe because the data is supposed to only be accessed by the mail application. And documents are documents that I have created in something like TextEdit and saved to documents? It's difficult for me to drawn the line there... but Omni is not the only company that saves data in the Library. Apple does it more than anyone. And Omni is just following suit.
 
Quote:
Originally Posted by jasong View Post
I don't like having my .ofocus file in ~/Library/Application Support/OmniFocus/OmniFocus.ofocus. It's outside my "normal" backup locations and, Apple says don't do it....
As a recovering Unix geek, I can assure you that Apple says nothing of the sort. The Library directory (better referred to as /Library) is not the same as the ~/Library directory, which is perfectly OK for storing data from single-file applications such as OmniFocus.

Ever notice where Address Book and iCal save your data?

Chronos, on the other hand, violated this injunction with StickyBrain and SOHO Notes, which do store data in /Library, not ~/Library.
 
Quote:
Originally Posted by brianogilvie View Post
I can assure you that Apple says nothing of the sort. The Library directory (better referred to as /Library) is not the same as the ~/Library directory, which is perfectly OK for storing data from single-file applications such as OmniFocus.
The URL above and the quote are from Apple's Developer documentation. The link in question starts with

Quote:
The Library directory is a special directory used to store application-specific and system-specific resources. Each file-system domain has its own copy of the Library directory, with access levels to match the domain type.
That is, it's referencing *all* of the Library folders: /Library, ~/Library, /Network/Library.

It then goes on to mention specifically that the "Application Support" folder under Library (all of them)

Quote:
Contains... resources that are used by the application but not required for it to operate ... [and] ... should never contain any kind of user data...
I understand that Apple is breaking its own rules with Mail and who knows how many other applications. That doesn't mean everyone should follow Apple's bad example.
 
Huh! That's a curious redefinition of what belongs in the Library folder, I wonder when that note crept into the documentation?

The original intent of the Library folder was for it to hold any user data that was not managed as separate user-controlled documents, and that's the way that Mail, iCal, Address Book, Safari, and so on use it. It's also where all your preferences live, and it seems like a terrible idea not to back it up. (I back up all of my home directory except for ~/Library/Caches—which seems like something which belongs outside of your home directory anyway, since your home directory might be on a network drive and you want your cache to be on a local disk.)

Last edited by Ken Case; 2007-09-18 at 08:08 PM.. Reason: Gave a more detailed explanation of why ~/Library/Caches seems out of place
 
Being the paranoid sort, I too back up my entire home folder, excluding cache files (~/Library/Cache, things that end in .cache, Logs and a few others). But I'm a geek. My mom "puts" files into her Documents folder, and her "backup" is copying her Documents folder somewhere on occasion.

(Yes, I keep meaning to set up something automated for her. It's in OmniFocus. On Hold.)
 
Quote:
Originally Posted by Ken Case View Post
(I back up all of my home directory except for ~/Library/Caches—which seems like something which belongs outside of your home directory anyway, since your home directory might be on a network drive and you want your cache to be on a local disk.)
One reason why I could see why the Caches are in the home directory is for those paranoid users who use FileVault.

If the cache was stored outside of the home directory, it would be unprotected.

I also now backup the entire home folder.
 
...and I am one of those users who use FileVault. ;-)
But I'm not paranoid... because they are watching.
 
Personally, I like that OmniFocus (and Mail, iCal, and Address Book, ...) stores its data in ~/Library and not Documents. I want Documents to just contain the documents that I explicitly create. To me, OF is not "document-based" application. I can't do anything with my OF data apart from manipulating it with the application, and I can't have multiple sets of data open in the application simultaneously.

Oh, and I clone my entire hard drive every night. SuperDuper is.
__________________
Cheers,

Curt
 
Quote:
Originally Posted by jasong View Post
The URL above and the quote are from Apple's Developer documentation.... That is, it's referencing *all* of the Library folders: /Library, ~/Library, /Network/Library.
I apologize for my mistake.
 
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
script to make an inactive project active and move it to a selected folder kingsinger OmniFocus Extras 2 2010-11-15 08:52 PM
How to move project into folder? [A: Tap Edit, tap item, tap "move" button in Tbar.] Avis OmniFocus for iPhone 4 2010-07-07 10:27 AM
Sync folder keeps reverting to default "Documents" folder chrisaceto iDisk/MobileMe/.Mac Syncing 1 2009-07-01 02:19 AM
Feature Request: Move project from folder to folder jbarr OmniFocus for iPhone 2 2008-07-17 11:10 AM
How do I move a project to a specific folder? rloconne OmniFocus Extras 6 2008-01-24 04:13 PM


All times are GMT -8. The time now is 11:51 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.