Skip to main content
Question

Inventory collection hidden folder

  • November 4, 2022
  • 2 replies
  • 7 views

dmccluskey
Forum|alt.badge.img+8

Hello

Does any know how to Inventory collection a hidden folder in applications. 

Bomgar creates a .com folder that the user cant see.

Thanks

 

2 replies

karthikeyan_mac
Forum|alt.badge.img+18
  • Honored Contributor
  • 284 replies
  • November 7, 2022

@dmccluskey You can use the Extension Attribute to check if folder exists. I don't think Jamf default inventory has hidden folders 

#!/bin/bash ls -a /Applications | grep -i .com1.bomgar.scc >> /dev/null if [ $? == 0 ]; then result=Yes else result=No fi echo "<result>$result</result>"

 Thanks


dmccluskey
Forum|alt.badge.img+8
  • Author
  • Valued Contributor
  • 91 replies
  • November 7, 2022

perfect 

 

thanks