|
|
@ -42,7 +42,7 @@ mdls_per_file () { |
|
|
|
IFS=$old_IFS |
|
|
|
IFS=$old_IFS |
|
|
|
done |
|
|
|
done |
|
|
|
old_IFS=$IFS |
|
|
|
old_IFS=$IFS |
|
|
|
echo $mdls_properties |
|
|
|
printf '%s\n' $mdls_properties |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -81,7 +81,7 @@ done |
|
|
|
## Loop through files, writing to csv |
|
|
|
## Loop through files, writing to csv |
|
|
|
for file in $(find $Working_Fullpath -maxdepth 1 -type f); do |
|
|
|
for file in $(find $Working_Fullpath -maxdepth 1 -type f); do |
|
|
|
hash=$($md5_bin $file | awk '{ print $4 }') |
|
|
|
hash=$($md5_bin $file | awk '{ print $4 }') |
|
|
|
IFS=',';echo $(mdls_per_file $file);IFS=$old_IFS |
|
|
|
mdls_per_file $file |
|
|
|
# echo "============= CSV Row ==========" |
|
|
|
# echo "============= CSV Row ==========" |
|
|
|
#echo "$file,$hash,$mdls_properties" |
|
|
|
#echo "$file,$hash,$mdls_properties" |
|
|
|
# write_per_file $file $hash $mdls_properties |
|
|
|
# write_per_file $file $hash $mdls_properties |
|
|
|