AnsweredAssumed Answered

Locating corrupt files in the repository

Question asked by benswitzer on Feb 28, 2012
Good day.

Have an issue that I can't seem to figure out on my own.  Hopefully this is an appropriate forum for this topic.

I'm attempting to migrate a Share site from one machine to another using Will Abson's share-import-export scripts.

The long and short of it is that I believe I have corrupt files within the repository.  Once the content has been exported, I can not open the ACP with programs such as WinZIP.  I then exported individual directories into ACP files and could open most of them this way.  There were two directories that I exported into their own ACP files that could not be opened.  Unfortunately, the amount of content in these two files is huge and I can't responsibly go looking at each file to determine which are corrupt.

My question is, can I some how test if a file is corrupt through scripting?  I'd like to create a log of all the files that need to be addressed.  Are there certain methods I could use to easily locate the offending content?

Thanks so much.

Ben

Outcomes