diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-09-16 18:30:56 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-09-16 18:30:56 -0300 |
commit | b779d46ff89c1099b7af610f71a00b6b738f9c69 (patch) | |
tree | 41837b2ee97f9e04e8fb5b8d98bf95fa1e4e7545 /todo | |
parent | cf08643c9cb94be54cfbb461d1404308a3bf3a16 (diff) | |
download | scripts-b779d46ff89c1099b7af610f71a00b6b738f9c69.tar.gz scripts-b779d46ff89c1099b7af610f71a00b6b738f9c69.tar.bz2 |
Check for mr and folders
Diffstat (limited to 'todo')
-rwxr-xr-x | todo | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -22,6 +22,10 @@ FOLDERS="`echo $WORKPATH | tr ':' ' ' | sed -e "s|~|$HOME|g"`" # Iterate function todo_find { for folder in $FOLDERS; do + if [ ! -d "$folder" ]; then + continue + fi + find $folder/ -maxdepth $TODO_MAXDEPTH -xtype f -iname 'todo*' | while read todo; do # Ignore lists without tasks if grep -q -e '*' -e '-' $todo; then |