3 ms·
Related, fully using the power of simple text file system to keep track of my stuff Adding command and corresponding script: logadd whatever echo %date% %tim
by AlexDragusin 7y ago
Related, fully using the power of simple text file system to keep track of my stuff
Adding command and corresponding script:
logadd whatever
echo %date% %time% %* >> log.txt
tail -n1 log.txt
Retrieval command and corresponding script:
loglist whatever
grep -i %st% log.txt
This allows me to save thoughts, notes, stuff I am doing and want it noted, a phone number, whatever, and can retrieve it down to minute and second or to type of entry etc. Very helpful when sometimes you need to recall around when you were doing X thing. Works as a to do list as well. The tail in there is to verify that my entry was written.