From a59dffdae995ad3fc008c288fa2be8cfc4d8dcc2 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 13 Oct 2016 16:25:34 -0300 Subject: TODO: use xtype --- todo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'todo') 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 } -- cgit v1.2.3