I'd like to backup my local content with my own scripts. But I'm not familiar about how OSX apps works. So I can't find where does Ulysses stores its local content.
Or generally, where usually does an OSX apps, stores its buffer content?
Ask Different is a question and answer site for power users of Apple hardware and software. It only takes a minute to sign up.Sign up to join this community
It’s really up to each program to decide if it stores in the home folder / documents and lets users manage things or if it makes a database in plain view (like Photos or iTunes) with aspects of the database elsewhere or entirely hide the filesystem and manage all files / syncing.
In the case of Ulysses - the developer has decided to manage things in a bundle/database and either sync it to iCloud via a local cache or store the content locally in your user library folder - out of view of normal expectations in ~/Documents or ~/Desktop
If you do not sync your local content using iCloud (i.e. it's in the On My Mac section in your Ulysses sidebar), you can access each group in your Ulysses library at the following file path:
Each group belongs it its own
-ulgroup directory and will have an (unhelpful) hash for a name—for example,
-ulgroup directory, your documents will each have their own
.ulysses file. And you guessed it, they also have a hash for a filename. Note that
.ulysses files actually contain both a
Content.xml and a
Text.txt with your content in them.
You will have a hard time accessing your Ulysses iCloud-stored library from Finder, but I seem to be able to access mine fine using the Terminal if you're comfortable doing that. It's stored similarly as I described above, but here is the file path you'll be looking for instead:
A note on iCloud. The com~soulmen~ulysses3 is the application bundle/group name provided to Apple by the developer when they created the iCloud entitlements for this application. The X5AZV975AG is Apple’s provided identifier that combined with the reverse dns type name space, makes each iCloud bucket unique but common across everyone that uses that app.
There's a way to do this where even if you lose access to Ulysses you will still have your files in a way that is useful for you and won't make you cry.
Move your files in Ulysses' iCloud and "On My Mac" sections to two external folders. The exact directory structure gets copied & the sheet names are retained; it took me about a minute.
Once you've set it up to only use external folders you can do normal things with the files.
Everything Ulysses keeps in the ~/Library area is all over the place. Hopeless. I thought I was going to have to make every folder (group) by hand and export each "sheet" one by one.
No one should have to go through this to move a directory structure full of text files from one place to another my God. Comma key is broken apologies.