Changing where array invocation is done, still sorting out array output.

rewrite-2022-03-26
Mike Holloway 2 years ago
parent 6a57064a74
commit 652e775164
  1. 5
      hash-files

@ -42,7 +42,7 @@ mdls_per_file () {
IFS=$old_IFS
done
old_IFS=$IFS
IFS=',';echo ${mdls_properties[*]};IFS=$old_IFS
export mdls_properties
}
@ -83,7 +83,8 @@ for file in $(find $Working_Fullpath -maxdepth 1 -type f); do
hash=$($md5_bin $file | awk '{ print $4 }')
mdls_properties=$(mdls_per_file $file)
# echo "============= CSV Row =========="
echo "$file,$hash,$mdls_properties"
#echo "$file,$hash,$mdls_properties"
echo "${mdls_properties[*]}"
# write_per_file $file $hash $mdls_properties
done
} >> $temp_csv_file

Loading…
Cancel
Save