Skip to content

Instantly share code, notes, and snippets.

@jmcmullen
Created January 22, 2020 04:28
Show Gist options
  • Save jmcmullen/ac496676b53a46e4e5df4ccd588776dc to your computer and use it in GitHub Desktop.
Save jmcmullen/ac496676b53a46e4e5df4ccd588776dc to your computer and use it in GitHub Desktop.
http://www.libimobiledevice.org
On macOS:
brew install libimobiledevice
## to disable iCloud backups
idevicebackup2 cloud off
## if you want encrypted backups (native encryption)
idevicebackup2 encryption on -i
## backup to a folder
idevicebackup2 backup backup-folder
## restore from a backup
idevicebackup2 restore backup-folder
This uses the same format as iTunes, which stores them in ~/Library/Application Support/MobileSync/Backup
There are more utilities included:
idevice_id idevicedebugserverproxy idevicenotificationproxy
idevicebackup idevicediagnostics idevicepair
idevicebackup2 ideviceenterrecovery ideviceprovision
idevicecrashreport ideviceimagemounter idevicescreenshot
idevicedate ideviceinfo idevicesyslog
idevicedebug idevicename iproxy
You can also mount your iPhone's filesystem using ifuse (the only one in a separate package):
brew cask install osxfuse
brew install ifuse
## mount your iPhone
ifuse mount-point
## unmount, or eject using Finder
umount mount-point
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment