Ask Your Question
1

Syncing worksheets across different computers?

asked 11 years ago

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?

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
0

answered 11 years ago

slelievre gravatar image

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.

Preview: (hide)
link

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 ( 11 years ago )

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

Thanh Nam gravatar imageThanh Nam ( 10 years ago )

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: 11 years ago

Seen: 1,021 times

Last updated: Feb 11 '14