Keeping sage worksheets in sync across computers
I have been using Sage through the notebook interface. I usually keep my other working documents in sync using Dropbox. What do you think is an efficient way of working on notebooks from different computers? Currently I export and import .sws files. I thought of perhaps changing the DATA path to a folder on Dropbox, but I don't know enough about the internals of Sage to see if this would be a horrible idea.
I think this is a duplicate of http://ask.sagemath.org/question/1576/running-sage-with-files-on-dropbox. The accepted answer there is to set `DOT_SAGENB` to point to the directory containing your notebook data.
I hate to own up to just how little I understand about IT, but I have tried to follow your instructions on adding a line to the .profile file; only "locate" in BASH cannot find any file with that name on my drive. I know I'm being dumb, sorry, but how do I find it and edit it please?
Do you have a file called ".bash_profile" or ".bashrc" in your home directory? You can add the appropriate line (`export DOT_SAGENB=...`) to either of those files instead.
thank you, and sorry for my continuing ineptitude ... the only 2 things I can find anywhere on my computer with .bash in them are these: /Users/<myname>/.bash_history and /usr/share/emacs/22.1/etc/emacs.bash which presumably are not what we want ...
So create any of the files I mentioned, say ".bashrc", and add the appropriate line to that file.