From 329f3a71ffaef64c3c159ba17e73ce07be5ca1c7 Mon Sep 17 00:00:00 2001 From: Mike Holloway Date: Sat, 26 Mar 2022 18:27:17 -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 Select the correct md5sum field with awk. --- hash-files | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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