/build/static/layout/Breadcrumb_cap_w.png

KACE Product Support Question


How do I obtain the File Creation Date from Mac OS X using FileInfoReturn as a Custom Inventory Field?

09/06/2012 4028 views

I am attempting to use FileInfoReturn on a client running Mac OS 10.6.8 with K1000 Agent 5.3.53177. I am not able to obtain the file creation date at all. I have tried the following arguements: creation_time, modification_time and access_time. Each of these appears to have the same fundamental flaw; they function as access_time.

EXPECTED COMMAND SYNTAX

FileInfoReturn(/Library/Application Support/3rdPartyApp/licence.xml,creation_time,DATE)

LIST OF BUG MANIFESTATIONS

Regardless of the arguement used the Custom Inventory Field is updated with the current date and time each time the Invetory Update is ran. The Modified date and Accessed date are updated on the client computer (e.g. the file was "touch"ed). None of the arguements act as the creation_time is expected to by returning the Created date from the file on client machine.

0 Comments   [ + ] Show comments

Comments


All Answers

2

Try CreatedDate instead of creation_time.

If that doesn't work, there may be a different problem: http://www.faqs.org/faqs/unix-faq/faq/part3/section-1.html

In either case, see if you can duplicate it on a different file.  If so, open up a support ticket at https://support.kace.com so it can be looked into.

Answered 09/06/2012 by: jknox
Red Belt

  • Did this work?

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ