Whoops, then I forgot I need dummy output for write_per_file!

rewrite-2022-03-26
Mike Holloway 3 years ago
parent bbc0007917
commit 30d39a1060
  1. 14
      hash-files

@ -43,12 +43,13 @@ mdls_per_file () {
}
#write_per_file () {
##echo "=== Write data to a .csv file. ===
##===================================="
## cat $temp_csv_file
## write_log "$temp_csv_file written successfully."
#}
write_per_file () {
#echo "=== Write data to a .csv file. ===
#===================================="
# cat $temp_csv_file
# write_log "$temp_csv_file written successfully."
echo "File write happens!"
}
cleanup () {
write_log "Cleanup completed successfully."
@ -74,7 +75,6 @@ IFS=',';echo "${csv_columns[*]}";IFS=$'\n'
for file in $(find $Working_Fullpath -maxdepth 1 -type f); do
hash=$($md5_bin $file | awk '{ print $1 }')
mdls_properties=$(mdls_per_file $file)
write_per_file $file $hash $mdls_properties
done

Loading…
Cancel
Save