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
	Important to note - macOS `md5` the checksum is field 4
		whereas Linux `md5sum` the checksum is field 1
rewrite-2022-03-26
Mike Holloway 3 years ago
parent 329f3a71ff
commit 05c46480fa
  1. 2
      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 $2 }')
hash=$($md5_bin $file | awk '{ print $4 }')
mdls_properties=$(mdls_per_file $file)
write_per_file $file $hash $mdls_properties
done

Loading…
Cancel
Save