From a889f1ff6f9a26ed2f0133ebc7edbe8a22c9d974 Mon Sep 17 00:00:00 2001 From: Mike Holloway Date: Sat, 26 Mar 2022 19:42:50 -0400 Subject: [PATCH] On branch rewrite-2022-03-26 Your branch is up to date with 'origin/rewrite-2022-03-26'. Changes to be committed: modified: hash-files Change from two step (invoke, print) to one step (print invocation) --- hash-files | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hash-files b/hash-files index bed2258..3741ab7 100755 --- a/hash-files +++ b/hash-files @@ -39,7 +39,7 @@ mdls_per_file () { fi IFS=$old_IFS done -# IFS=',';echo "${mdls_properties[*]}";IFS=$old_IFS + IFS=',';echo "${mdls_properties[*]}";IFS=$old_IFS } @@ -76,10 +76,10 @@ for file in $(find $Working_Fullpath -maxdepth 1 -type f); do ## Set our hash value hash=$($md5_bin $file | awk '{ print $4 }') ## Set our mdls values - mdls_per_file $file + # Print csv row output # "============= CSV Row ==========" - echo "$file,$hash,$mdls_properties" + echo "$file,$hash,$(mdls_per_file $file)" # write_per_file $file $hash $mdls_properties done } >> $temp_csv_file