+1

Tip: How to sync Textastic with a server or desktop

Anne Brown 13 years ago updated by Paul Ulrich 13 years ago 5
FWIW: Here is a way to do automatic two-way sync between Textastic docs and remote machines.

I mounted my iPad on my unix server using sshfs. You can mount it on Windows and MAC hosts as well if that's your setup. Then I set up Unison to do scheduled two-way sync between my server and the /Users/Documents directory on my iPad. Then I created a hard link (Textastic doesn't see soft links) under my Textastic Documents directory, pointing to my /Users/Documents directory on the iPad. Unison syncs my iPad and server (and my other computers) every 15 minutes.

So right now I can use any one of my computers, including my iPad, to work on my web sites, without having to worry about manually keeping things in sync.
Interesting approach! Does this require a jailbroken iPad?
Absolutely. I find the unjailbroken iPad to be too restrictive. My apps like Goodreader, QuickOffice, etc. all point to my /User/Documents directory. This directory is synchronized with all my other machines,(unix & windows) so I can sit at my iPad or any PC anywhere and edit my stuff. I know that within 15 minutes, all my other machines will have the same data. The tricky part is setting up exclusions so that host-specific parts don't get synced.
Thanks a lot for sharing this tip! It might be really useful for others.
This is what I'm looking for but with an existing service (such as simplenotes for example) without having to jailbreak my iPad.

How do you create the hard link to the directory? Do you somehow mask the fact that you are linking to a directory rather than to a file? I get the expected error "hard link not allowed for directory" when I try to create it.