It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
Well, this is a long shot but I haven't found the answer is the documentation and so, I've once again come to the GOG for help.

I discovered a Todo list app called Todo.txt last night and I already really like it. I'm using the CLI version with Cygwin on Windows and everything is fine apart from the one thing I really want.

I would like the CLI version that I'm using to sync with my Dropbox. I thought that would be a simple case of changing the todo directory path in the .cfg file to point to my Dropbox folder. However, that does not seem to work. No matter what path I change it to, it always creates the todo.txt file in my home directory in Cygwin.

Can anyone help please?
This question / problem has been solved by Pidgeotimage
avatar
lukew: Well, this is a long shot but I haven't found the answer is the documentation and so, I've once again come to the GOG for help.

I discovered a Todo list app called Todo.txt last night and I already really like it. I'm using the CLI version with Cygwin on Windows and everything is fine apart from the one thing I really want.

I would like the CLI version that I'm using to sync with my Dropbox. I thought that would be a simple case of changing the todo directory path in the .cfg file to point to my Dropbox folder. However, that does not seem to work. No matter what path I change it to, it always creates the todo.txt file in my home directory in Cygwin.

Can anyone help please?
I don't use this program, but if it's running in Cygwin, then you need to make sure the path is adapted accordingly - because Cygwin emulates a Unix-y environment, and I'm don't think it does conversion.

If your Dropbox folder is located in C:\Users\lukew\Dropbox, then the .cfg file needs to use /cygdrive/c/Users/lukew/Dropbox - that is, you need to replace \ with /, and you need to replace X: with /cygdrive/x.

If you have any spaces in your user name, you probably also need to throw quotes around it.
avatar
lukew: Well, this is a long shot but I haven't found the answer is the documentation and so, I've once again come to the GOG for help.

I discovered a Todo list app called Todo.txt last night and I already really like it. I'm using the CLI version with Cygwin on Windows and everything is fine apart from the one thing I really want.

I would like the CLI version that I'm using to sync with my Dropbox. I thought that would be a simple case of changing the todo directory path in the .cfg file to point to my Dropbox folder. However, that does not seem to work. No matter what path I change it to, it always creates the todo.txt file in my home directory in Cygwin.

Can anyone help please?
avatar
Pidgeot: I don't use this program, but if it's running in Cygwin, then you need to make sure the path is adapted accordingly - because Cygwin emulates a Unix-y environment, and I'm don't think it does conversion.

If your Dropbox folder is located in C:\Users\lukew\Dropbox, then the .cfg file needs to use /cygdrive/c/Users/lukew/Dropbox - that is, you need to replace \ with /, and you need to replace X: with /cygdrive/x.

If you have any spaces in your user name, you probably also need to throw quotes around it.
Thanks very much for the input but unfortunately, that didn't work. If it helps, here is the first part of my .cfg file:

# Your todo.txt directory
# export TODO_DIR="/cygdrive/c/Documents and Settings/User/My Documents/Dropbox/Documents/todo"
export TODO_DIR=$(dirname "$0")
Post edited March 03, 2014 by lukew
avatar
lukew: # Your todo.txt directory
# export TODO_DIR="/cygdrive/c/Documents and Settings/User/My Documents/Dropbox/Documents/todo"
export TODO_DIR=$(dirname "$0")
Yeah, there's your problem - the # means the line is treated as a comment.

You need to remove that character, and remove the other "export TODO_DIR" line.
avatar
lukew: # Your todo.txt directory
# export TODO_DIR="/cygdrive/c/Documents and Settings/User/My Documents/Dropbox/Documents/todo"
export TODO_DIR=$(dirname "$0")
avatar
Pidgeot: Yeah, there's your problem - the # means the line is treated as a comment.

You need to remove that character, and remove the other "export TODO_DIR" line.
IT WORKS!!! It created and updates todo.txt in my Dropbox! Exactly what I wanted. Thank you very much for all your help. I was up until 2:30am this morning trying to find a solution. Thanks again.