

Naturally, removing a file decrements the link count by one. Normally a file has a link count of just one, but when a new hard link is created that link count is incremented by one. One of the attributes of an inode is ‘link count.’ The link count is the number of hard links to a file. The script works by monitoring filesystem access and if a pkg or dmg file is detected a hard link of the file is created on the user’s desktop.Īt this point you may be asking yourself “what is a hard link?” Every unique file on a Unix (the foundation of OS X) filesystem has an inode (index node). This is why I created the script PkgKeeper. Sometimes however, a package will not be listed directly on Apple's Support website and also may not be taking advantage of OS X Server's Caching Service.

RESTORE RASPBERRY PI SD CARD FROM DMG FILE SOFTWARE
To avoid the account being added as offline the user is also prompted for their Exchange account password.ĭeploying software via Munki is an excellent asset to sites managing fleets of Macs. The script locally generates and installs a user configuration profile (.mobileconfig file).

To make life easier for those without a MDM I have put together a bash script to automate the setup of Exchange accounts on OS X. But for those situations where a MDM isn’t feasible (possibly due to budget, resources, policy, etc.) or simply overkill this post should help you out. I also wanted to automate the setup of Exchange accounts for Apple’s native OS X apps (Mail, Contacts, Calendars, Reminders and Notes). Normally this would be done with a Mobile Device Management (MDM) solution, pushing out user personalised configuration profiles. William Smith has created an impressive Exchange Setup AppleScript, perfect for Microsoft Outlook users. I have been recently looking for the best way to automate the setup of Exchange accounts (specifically Office 365 hosted) on shared Macs.
