diff --git a/hash-files b/hash-files index 0ffc2d8..d76b22e 100755 --- a/hash-files +++ b/hash-files @@ -42,7 +42,7 @@ mdls_per_file () { IFS=$old_IFS done old_IFS=$IFS - echo $mdls_properties + printf '%s\n' $mdls_properties } @@ -81,7 +81,7 @@ done ## Loop through files, writing to csv for file in $(find $Working_Fullpath -maxdepth 1 -type f); do hash=$($md5_bin $file | awk '{ print $4 }') - IFS=',';echo $(mdls_per_file $file);IFS=$old_IFS + mdls_per_file $file # echo "============= CSV Row ==========" #echo "$file,$hash,$mdls_properties" # write_per_file $file $hash $mdls_properties