|
|
@ -37,7 +37,7 @@ mdls_files () { |
|
|
|
for line in $(mdls $file); do |
|
|
|
for line in $(mdls $file); do |
|
|
|
mdls_key=$(printf "%s" $line | cut -d '=' -f 1) |
|
|
|
mdls_key=$(printf "%s" $line | cut -d '=' -f 1) |
|
|
|
mdls_value=$(printf "%s" $line | cut -d '=' -f 2) |
|
|
|
mdls_value=$(printf "%s" $line | cut -d '=' -f 2) |
|
|
|
if $(grep $mdls_key $keys_of_interest);then |
|
|
|
if $(echo $keys_of_interest | grep $mdls_key);then |
|
|
|
printf "\n============================\nMDLS Key: %s\nMDLS Value: %s\n============================\n\n" $mdls_key $mdls_value |
|
|
|
printf "\n============================\nMDLS Key: %s\nMDLS Value: %s\n============================\n\n" $mdls_key $mdls_value |
|
|
|
else |
|
|
|
else |
|
|
|
: |
|
|
|
: |
|
|
|