From 1e9b2176125a7ea58250a3575b8e4e48f33684b4 Mon Sep 17 00:00:00 2001 From: Mike Holloway Date: Thu, 3 Mar 2022 23:28:39 -0500 Subject: [PATCH] Putting find arguments in order. --- hash-files | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hash-files b/hash-files index 8db52eb..f5c7148 100755 --- a/hash-files +++ b/hash-files @@ -16,7 +16,7 @@ create_list_of_files () { echo "=== Get list of files in $Working_Directory. === ==================================================" IFS=$'\n' -for file in $(find $Working_Fullpath -type f -maxdepth 1); do +for file in $(find $Working_Fullpath -maxdepth 1 -type f); do list_of_files+=$file done unset IFS