diff --git a/hash-files b/hash-files index a9398ac..745e0ab 100755 --- a/hash-files +++ b/hash-files @@ -73,7 +73,7 @@ done IFS=',';echo "${csv_columns[*]}";IFS=$'\n' ## Loop through files, writing to csv for file in $(find $Working_Fullpath -maxdepth 1 -type f); do - hash=$($md5_bin $file | awk '{ print $1 }') + hash=$($md5_bin $file | awk '{ print $2 }') mdls_properties=$(mdls_per_file $file) write_per_file $file $hash $mdls_properties done