diff --git a/hash-files b/hash-files index 84e0ca8..1609bb9 100755 --- a/hash-files +++ b/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