Skip to content

Conversation

@sjpotter
Copy link

I through together a quick POC for issue I filed at #184

makes it so much faster to fix renaming of randomly renamed named files with par2, as it can now stop scanning as soon as it knows a file isn't a simple rename.

@BlackIkeEagle
Copy link
Member

Would it be possible to create a test showcase for this?

@sjpotter
Copy link
Author

sjpotter commented May 3, 2025

don't know what you are asking for. The concept of what I did is simple.

I ended up in a situation where I had 100s of GBs of data protected by many PAR2 file sets, but ran a rename script incorrectly which renamed every file, but since they were all bunched together, I couldn't separate them. I could identify the par2 files (size and magic strings), but the content was indecipherable. I figured, lets jsut run par2 in a loop repairing, but this would take too long, as it would slowly check every file.

So I added this mode to make it quick (as all I needed was rename).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants