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