Posted March 17, 2014
A couple weeks ago I posted this thread asking about how I would go about getting the Todo.txt CLI to save the dodo file to my Dropbox. A very helpful person gave me the solution.
Since then I've had to reinstall Windows. I've repeated this whole Cygwin process and I've suddenly, I've ran into new problems. In my previous Windows installation, the todo.cfg file read:
export TODO_DIR="/cygdrive/c/Documents and Settings/User/My Documents/Dropbox/Documents/todo"
All that has changed in my new installation is the user account name:
export TODO_DIR="/cygdrive/c/Documents and Settings/Luke/My Documents/Dropbox/Documents/todo"
Now, I get this error when I try to use it:
/home/Luke/todo.cfg: line 2: $'\r': command not found
/home/Luke/todo.cfg: line 5: $'\r': command not found
/home/Luke/todo.cfg: line 6: $'\r': command not found
/home/Luke/todo.cfg: line 11: $'\r': command not found
/home/Luke/todo.cfg: line 14: $'\r': command not found
/home/Luke/todo.cfg: line 16: $'\r': command not found
/home/Luke/todo.cfg: line 18: $'\r': command not found
/home/Luke/todo.cfg: line 26: $'\r': command not found
/home/Luke/todo.cfg: line 44: $'\r': command not found
/home/Luke/todo.cfg: line 46: $'\r': command not found
/home/Luke/todo.cfg: line 59: $'\r': command not found
/home/Luke/todo.cfg: line 64: $'\r': command not found
/home/Luke/todo.cfg: line 69: $'\r': command not found
/home/Luke/todo.cfg: line 71: $'\r': command not found
/home/Luke/todo.cfg: line 79: $'\r': command not found
/home/Luke/todo.sh: line 734: cd: /cygdrive/c/Documents and Settings/Luke/My Doc: No such file or directorydo
Fatal Error: Unable to cd to /cygdrive/c/Documents and Settings/Luke/My Documents/Dropbox/Documents/todo
And it creates folders in my home directory called "Documents, "and", "Settings". I have no idea what's gone wrong. Anyone have any ideas please?
Since then I've had to reinstall Windows. I've repeated this whole Cygwin process and I've suddenly, I've ran into new problems. In my previous Windows installation, the todo.cfg file read:
export TODO_DIR="/cygdrive/c/Documents and Settings/User/My Documents/Dropbox/Documents/todo"
All that has changed in my new installation is the user account name:
export TODO_DIR="/cygdrive/c/Documents and Settings/Luke/My Documents/Dropbox/Documents/todo"
Now, I get this error when I try to use it:
/home/Luke/todo.cfg: line 2: $'\r': command not found
/home/Luke/todo.cfg: line 5: $'\r': command not found
/home/Luke/todo.cfg: line 6: $'\r': command not found
/home/Luke/todo.cfg: line 11: $'\r': command not found
/home/Luke/todo.cfg: line 14: $'\r': command not found
/home/Luke/todo.cfg: line 16: $'\r': command not found
/home/Luke/todo.cfg: line 18: $'\r': command not found
/home/Luke/todo.cfg: line 26: $'\r': command not found
/home/Luke/todo.cfg: line 44: $'\r': command not found
/home/Luke/todo.cfg: line 46: $'\r': command not found
/home/Luke/todo.cfg: line 59: $'\r': command not found
/home/Luke/todo.cfg: line 64: $'\r': command not found
/home/Luke/todo.cfg: line 69: $'\r': command not found
/home/Luke/todo.cfg: line 71: $'\r': command not found
/home/Luke/todo.cfg: line 79: $'\r': command not found
/home/Luke/todo.sh: line 734: cd: /cygdrive/c/Documents and Settings/Luke/My Doc: No such file or directorydo
Fatal Error: Unable to cd to /cygdrive/c/Documents and Settings/Luke/My Documents/Dropbox/Documents/todo
And it creates folders in my home directory called "Documents, "and", "Settings". I have no idea what's gone wrong. Anyone have any ideas please?
This question / problem has been solved by Maighstir