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 Change from two step (invoke, print) to one step (print invocation)
This commit is contained in:
parent
fb29201bcd
commit
a889f1ff6f
@ -39,7 +39,7 @@ mdls_per_file () {
|
|||||||
fi
|
fi
|
||||||
IFS=$old_IFS
|
IFS=$old_IFS
|
||||||
done
|
done
|
||||||
# IFS=',';echo "${mdls_properties[*]}";IFS=$old_IFS
|
IFS=',';echo "${mdls_properties[*]}";IFS=$old_IFS
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -76,10 +76,10 @@ for file in $(find $Working_Fullpath -maxdepth 1 -type f); do
|
|||||||
## Set our hash value
|
## Set our hash value
|
||||||
hash=$($md5_bin $file | awk '{ print $4 }')
|
hash=$($md5_bin $file | awk '{ print $4 }')
|
||||||
## Set our mdls values
|
## Set our mdls values
|
||||||
mdls_per_file $file
|
|
||||||
# Print csv row output
|
# Print csv row output
|
||||||
# "============= CSV Row =========="
|
# "============= CSV Row =========="
|
||||||
echo "$file,$hash,$mdls_properties"
|
echo "$file,$hash,$(mdls_per_file $file)"
|
||||||
# write_per_file $file $hash $mdls_properties
|
# write_per_file $file $hash $mdls_properties
|
||||||
done
|
done
|
||||||
} >> $temp_csv_file
|
} >> $temp_csv_file
|
||||||
|
Loading…
Reference in New Issue
Block a user