Closed vigeeking closed 4 years ago
So, general step is to manually rename the files to a sequential order and make them .zip, then run a variation of this: zip -FF lastchance.zip --out please.zip
I wonder if I can do a zip -FF file[1-15].zip --out file[1-15].zip to start out with.
This is what worked (with some manual intervention)
for x in {1..26} do zip -FF -v file$x.zip --out out$x.zip done
This is not strictly related to home automation, but I wanted some documentation for it anyway for reasons. Friend of a friend lost a book she was working on, and I've been trying to recover it. I was not able to (she was working for 40+ hours on an autorecovery document and never saved it), but she found a bunch of .docx files. I manually converted them over to .zip and then repaired them, but they weren't what we were looking for. I'm going to see if I can automate that process. This task is done when I have a script that will take the files and automatically run the repair program.