From 30d39a106060db08aa4aeb5503b3cefab6ba1824 Mon Sep 17 00:00:00 2001 From: Mike Holloway Date: Sat, 26 Mar 2022 18:23:37 -0400 Subject: [PATCH] Whoops, then I forgot I need dummy output for write_per_file! --- hash-files | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/hash-files b/hash-files index 14be7bb..17ea9cf 100755 --- a/hash-files +++ b/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