. `aex-helper info path -s INVENTORY`/lib/helpers/custominv_inc.sh # Comment the top line to show script output on screen # Uncomment the top line to have script output processed by custom inventory and sent to the NS #!/bin/sh # do not modify the following line # SCRIPT_BEGINS_HERE echo "MacFonts" echo "Delimiters=\"#\"" echo "string200" echo "FontName" # Use this option to get all fonts enumerated by system_profiler system_profiler SPFontsDataType | grep Location | awk '{print substr($0,17,999)}' # Use this method to get only ttc type font entries #system_profiler SPFontsDataType | grep -i ttc | grep Location | awk '{print substr($0,17,999)}'