Browse
Jamf Nation Community
Products
Community & Events
Groups
Tech Thoughts
Jamf Nation Rewards
Help
Sign In
07-13-2021
nate_tallman
New Contributor
Joined:
July 2019
User Statistics
1
Posts
0
Solutions
0
Kudos given
0
Kudos received
Jamf Nation Community
About nate_tallman
User Activity
Posts
Replies
No posts to display.
Re: Check if iCloud Drive is enabled
08-21-2019
Small edit to make this script work in Mojave (I haven't tested previous OS versions): #!/bin/bash MobileDocsCount=$(ls -l /Users/*/Library/Mobile Documents | grep "com~apple~CloudDocs" | wc -l | sed 's/ //g') echo "${MobileDocsCount}"