Last active
February 16, 2021 23:09
-
-
Save jworkmanjc/5ee5dae9f769303c196055b8fa993da8 to your computer and use it in GitHub Desktop.
Invoke Mobile to Local for current user
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
################################################################################ | |
# This script will the latest version of Mobile to Local and prompt the current | |
# user to enter their password. This script can be run from the JumpCloud | |
# command console but will wait for user input before before marking the script | |
# complete in the results window. | |
# Refer to https://github.com/BIG-RAT/mobile_to_local for tool usage | |
################################################################################ | |
# Download Latest MobileToLocal | |
curl -L --silent --output /tmp/mobile2local.zip "https://github.com/BIG-RAT/mobile_to_local/releases/latest/download/Mobile.to.Local.zip" >/dev/null | |
# Unzip | |
unzip /tmp/mobile2local.zip -d /tmp | |
# Run | |
/tmp/Mobile\ to\ Local.app/Contents/MacOS/Mobile\ to\ Local -userType admin -unbind true & |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment