Putting find arguments in order.
This commit is contained in:
parent
7141e0dcc0
commit
1e9b217612
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user