4 ms·
I think a quick: echo "you can write dev tools as shell functions" >>.notes Would be pretty close to the same thing?
by lallysingh 10y ago
I think a quick:
echo "you can write dev tools as shell functions" >>.notes
Would be pretty close to the same thing?
- antjanus 10y agoWell, there seem to be a few additional features: 1. being able to organize notes by "books" 2. being able to use it cross-platform (since both `echo` and `>>` don't exist in powershell)
- zulln 10y agoI also like the emailing feature, but yeah, you could automate that with a chronjob. Is not that not most applications though? It would be possible to do it yourself, but the application simplifies that process. Does not need to do more than so.
- wingerlang 10y agoA famous (HN) example would be the first thread for Dropbox. I think people said "you could do this rsync".
- deleted 10y ago[deleted]
- lallysingh 10y agoYou can have more than one file for books. And you can run bash in windows now.
- dv_dt 10y agoIf if you go with that, don't ever forget the second '>'! I know I have :)
- jdoliner 10y agoecho "don't ever forget the second >" >>.notes
- dv_dt 10y agoYou'll remember it better if you do: echo "don't ever forget the second >" > .notes (Don't Do it...)
- angus-g 10y agoI've got `set -o noclobber` in my .bashrc, so this doesn't bite me: /tmp $ echo foo > test /tmp $ echo bar > test -bash: test: cannot overwrite existing file
- swah 10y agoThis even uses immutable data structures. Thank you for making this!
- strainer 10y agoI use a 20 line batch file saved as "jot.cmd" which does this roughly, it appends one liners to a particular note-log-file and it prepends the date if it is the first note of the day so I have a chronology. Also it cats the note file if sent an empty entry. It is just a small part of my note keeping system, but I have often found it really convienient to be able to jot "asides" in the terminal like this.
- coldtea 10y ago>Would be pretty close to the same thing? And one day you forget the second > and boom. There go your notes. Or at least the notes before the last backup.
- krick 10y agoOk, function dnote () { echo "$1" >> ~/.notes }
- stockkid 10y agoYou're right. That's pretty close. For a while, I actually did vim ~/dev/.note and navigated to an an appropriate section whenever I wanted to write down something new I learned.