Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Thanks to @dunhamsteve for this tool, it helped me solve my problem today. But when I had a little trouble using it I got this PR after trying to solve it.
Since I don't understand the iOS backup mechanism, when I need to
irestore restore xxx out
, I don't really know what domain name I want to work with. For that reason, when I try to useirestore list
to find my target, I unfortunately get a long list, which makes it difficult for me.So I'm going to restore all the domains and identify my target by their contents. So I tried the
xargs
command, however, my backup was an encrypted backup so I had to repeatedly enter the password many times, andirestore
consumed so much time in the frequent decryption process that I finally gave up and tried to fix its source code.Fortunately, irestore's source code is very clear and easy to read, and I quickly implemented a
restore-all
command, which successfully freed all the backup files. I thought someone else might have a similar problem, so I thought I'd submit this PR to help others.