foobuzz / todo

A simple command line todo list manager which can be as powerful as you want it to be.
MIT License
382 stars 45 forks source link

Multiple machines #2

Closed rmchale closed 2 years ago

rmchale commented 8 years ago

Does todo work on multiple machines? Can the database be shared in Dropbox?

foobuzz commented 8 years ago

Sorry, it doesn't work with multiple machines. You can migrate the todolist to another installation though. The database is stored in ~/.toduh/data.json, which you can copy in the same directory in another user account.

benswinburne commented 8 years ago

You can put the database into dropbox and symlink it's normal location to your shared copy. You obviously might get problems when syncing etc as it's not designed to be used concurrently by multiple machines/users but at the very least it's backed up.

mkdir -p ~/Dropbox/.toduh/
mv ~/.toduh/data.json ~/Dropbox/.toduh/data.json
ln -s ~/Dropbox/.toduh/data.json ~/.toduh/data.json
rmchale commented 8 years ago

Thanks, I was thinking about the symlink approach. I'll give that a try.