Ask Your Question
1

Syncing worksheets across different computers?

asked 2014-02-11 02:04:46 -0600

Alasdair gravatar image

I know this has been asked before, but I don't believe there has been a satisfactory answer. I'm using Sage in two places: work and home, and would like some way for my recent work at either place to be synced to the other. With individual files Dropbox works a treat, but I understand that Dropbox has some difficulty with symbolic links, and as such is sub-optimal for the syncing of Sage worksheets.

I suppose I could save a worksheet to an .sws file within my Dropbox tree...is there a way to set up the notebook so that no matter where the worksheet files are stored, all sws files are kept somewhere else?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-02-11 09:51:23 -0600

Maybe move your .sage folder to your Dropbox folder, and keep a .sage symlink in your home, if Sage is happy with that (not tried).

Otherwise, you could use a synchronization tool such as rsync to keep your folders in sync, either manually syncing at the end of each work session, or using some automation tool such as cron.

edit flag offensive delete link more

Comments

Thanks for that! I don't think that rsync would work easily as the work machine is behind a firewall, and the only way to access it is by vpn. Dropbox is perfect in the way that stuff simply moves in and out of it with no help from me, after the initial set-up. (This sort of mindless syncing suits me perfectly.) I'll try moving .sage into my Dropbox folder, and see what happens. I could also, I suppose, start the notebook with `/home/me/Dropbox/sage` as its directory....

Alasdair gravatar imageAlasdair ( 2014-02-11 10:59:21 -0600 )edit

It works for me by moving only the .sagenb folder.

Thanh Nam gravatar imageThanh Nam ( 2015-03-24 06:14:39 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2014-02-11 02:04:46 -0600

Seen: 725 times

Last updated: Feb 11 '14