From: Silvio Rhatto Date: Thu, 13 Oct 2016 19:25:34 +0000 (-0300) Subject: TODO: use xtype X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=a59dffdae995ad3fc008c288fa2be8cfc4d8dcc2;p=scripts.git TODO: use xtype --- diff --git a/todo b/todo index bb5338e..3c17c4f 100755 --- a/todo +++ b/todo @@ -22,7 +22,7 @@ FOLDERS="`echo $WORKPATH | tr ':' ' ' | sed -e "s|~|$HOME|g"`" # Iterate function todo_find { for folder in $FOLDERS; do - find $folder/ -maxdepth $TODO_MAXDEPTH -type f -iname 'todo*' + find $folder/ -maxdepth $TODO_MAXDEPTH -xtype f -iname 'todo*' done }