• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
6

How to find corrupted or unoenable indd files in all subfolders? Maybe script with logs?

Participant ,
May 10, 2024 May 10, 2024

Copy link to clipboard

Copied

hi

I have share with 1000s indd documents in multiple subfolders. Want to find all which indesign cant open and report it to some txt log. How I can do this? I can ignore missing link/fonts etc.

TOPICS
Scripting

Views

503

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 10, 2024 May 10, 2024

Copy link to clipboard

Copied

If you work on a PC - I can give you full access to my ID-Tasker for few days for free. 

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
May 10, 2024 May 10, 2024

Copy link to clipboard

Copied

yes, pc

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 10, 2024 May 10, 2024

Copy link to clipboard

Copied

Great, what kind of report would you like? 

 

And what extra options / functionality? 

 

Sometimes corrupted files can be fixed - if opened without showing them - then exported as IDML. 

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
May 10, 2024 May 10, 2024

Copy link to clipboard

Copied

no repair. in report only path for indds which wont successfully opened, ignoring missing fonts, link, plugins etc.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 10, 2024 May 10, 2024

Copy link to clipboard

Copied

quote

no repair. in report only path for indds which wont successfully opened, ignoring missing fonts, link, plugins etc.


By @kajzica

 

Any chance you already have some examples? I might have few but would be beneficial to have few more for testing - with different kinds of corruption. 

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
May 10, 2024 May 10, 2024

Copy link to clipboard

Copied

this file come from deduplicates windows server volume.

https://drive.google.com/file/d/1WiGetmRb0fgjI5HMY9nK9uPRL7o1M8xU/view?usp=sharing

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 11, 2024 May 11, 2024

Copy link to clipboard

Copied

Done.

 

If Document is not corrupted - can be opened and won't hang InDesign - number of pages will be updated - shortcut for now:

 

RobertatIDTasker_0-1715439214327.png

 

There is a bit of a "trade off" - I need to give InDesign enough time to hang - so right now it takes at least 20 seconds to process each file (*) - no matter if it opens or not ... so for 1000 files it's at least 6 hours - but the good news is - you can leave it overnight.

 

(*) I'm testing it on my laptop with mid range 1TB SSD - if you have faster SSD - then this 20s could be made 15s - but I think it's better to give it a bit of extra time - just in case ... hey, at least you don't have to sit and do it manually, right?

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 11, 2024 May 11, 2024

Copy link to clipboard

Copied

New idea(s):

 

1) to speed up the process - I could link size of the file with time - 1s for every 500Kb/1Mb - and max 30s - so I can test smaller files much quicker,

 

2) maybe instead of a list - it would be more benficial to re-save INDD files that can be opened with a new name - or export them as IDML?

If something happened with your server - or you want to migrate from older version of InDesign - at some point you'll have to open each file anyway - why not do it now?

Maybe even do PDF export of the whole file or few first pages as a JPEG preview?

Of course list can be created anyway.

 

 

And just tested something else - you could sort of use Bridge - it generates previews / tries to open INDD files - but generates false positives:

 

Won't open at all in InDesign:

RobertatIDTasker_0-1715442528103.png

 

OK:

RobertatIDTasker_1-1715442596240.png

 

CORRUPTED - even when it shows Swatches - will hang InDesign:

RobertatIDTasker_2-1715442646634.png

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
May 11, 2024 May 11, 2024

Copy link to clipboard

Copied

tnx for time. need to try taxer. maybe we can use it for other task. bridge wont have reporting. 

i have 112000 indd files in 1.3tb

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 11, 2024 May 11, 2024

Copy link to clipboard

Copied

quote

tnx for time. need to try taxer. maybe we can use it for other task. bridge wont have reporting. 

i have 112000 indd files in 1.3tb


By @kajzica

 

You are welcome. 

 

Quite a number of files - would be best if you process it in few chunks... 

 

About 6 days of continuous processing without the time optimisation ... on average it's about 11.6Mb / file so my idea to link size with time should save some time. 

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 14, 2024 May 14, 2024

Copy link to clipboard

Copied

LATEST

Extra bonus - if instead of updating page count - to see if file is OK - IDML export would be performed - some of the files can be recovered.

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines