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