max1011 / iphone-dataprotection

Automatically exported from code.google.com/p/iphone-dataprotection
0 stars 0 forks source link

small fixes required for backup_tool.py due to domain folders extraction #123

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Running backup_tool.py displays the below line- 

python keychain_tool.py -d /Users/satishb3/Library/Application 
Support/MobileSync/Backup/6c1b7aca59e2eba6f4635cfe7c4b2de1bd812898_extract/keych
ain-backup.plist /Users/satishb3/Library/Application 
Support/MobileSync/Backup/6c1b7aca59e2eba6f4635cfe7c4b2de1bd812898_extract/Manif
est.plist

backup_tool script now extracts the backup into domain specific folders and 
keychain is placed in KeychainDomain folder. So keychain-backup.plist path 
needs to be changed in the backup_tool.py at below line-

print "python keychain_tool.py -d %s %s" % (output_path + 
"/keychain-backup.plist", output_path + "/Manifest.plist")

Also, adding double quotes (") to the path would help in directly copy pasting 
it (useful in cases when folder name contain spaces).

Original issue reported on code.google.com by satish.b...@gmail.com on 7 Jan 2014 at 1:17

GoogleCodeExporter commented 9 years ago
Just pushed a fix, thanks !

Original comment by jean.sig...@gmail.com on 7 Jan 2014 at 8:12