MaxiHuHe04 / iTunes-Backup-Explorer

A graphical tool that can extract and replace files from encrypted and non-encrypted iOS backups
MIT License
528 stars 47 forks source link

Fix invalid filenames #13

Closed tetrahedrl closed 1 year ago

tetrahedrl commented 1 year ago

Hey, this looks like it solved the issue on my end.

I only tested that this worked for exporting my SMS attachments from the Files tab, where it worked just fine and exported all 20gbs of them. Did not test exporting by domain or search.

tetrahedrl commented 1 year ago

This might be a better way to handle it, up to you. Tries without any replacements, if there's an issue, does the replacements and logs it, if there's still an error, then throws an exception. Also realized drive letter isn't included until later, so no need to ignore first two characters.

MaxiHuHe04 commented 1 year ago

Thank you very much!

tetrahedrl commented 1 year ago

No problem!