Putting find arguments in order.

This commit is contained in:
Mike Holloway 2022-03-03 23:28:39 -05:00
parent 7141e0dcc0
commit 1e9b217612

View File

@ -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