Last active
December 16, 2015 04:49
-
-
Save mrmanc/5380211 to your computer and use it in GitHub Desktop.
If, like me, you have deleted a note on your iPhone and want to restore it you can find it by searching the sqlite3 notes databases contained within your iOS backups. Be sure to do this before reconnecting the device, as this would erase the backup. You'll need - to be comfortable using the command line
- to be using a mac (although this would w…
This file contains 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
find ~/Library/Application\ Support/MobileSync/Backup/ -name ca3bc056d4da0bbf88b5fb3be254f3b7147e639c -exec sqlite3 {} "select zcontent from znotebody where zcontent like '%Music%';" \; | sed -e "s/<div>/\\ | |
/g" -e "s/<[^>]*>//g" "-e s/ / /g" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment