Take the State of DFIR Survey Caseloads, AI, tools and careers. 8 minutes, anonymous, early access to the report. Take the survey ›

Take the survey

Take the State of DFIR Survey

Caseloads, AI, tools and careers. 8 minutes, anonymous, early access to the report.

Take the survey →
Quickly Verify all ...
 
Notifications
Clear all

Quickly Verify all E01 files are present in folder?

3 Posts
3 Users
0 Reactions
1,552 Views
(@mrmacca)
Eminent Member
Joined: 9 years ago
Posts: 20
Topic starter   [#16760]

Is there a piece of software that will quickly confirm that all the files in an E01 sequence are present in a folder?

Our Tape backup system has corrupted and in some instances it has deleted a random E01. I don't want it to spend 2 hours verifying the image that I have restored.

So for example an Image has 100 E01 files originally, but for whatever reason E18 has disappeared. I want a quick way for me to run something that within a few seconds it can say "E18 is missing" and so on.

Kind regards



   
Quote
PaulSanderson
(@paulsanderson)
Honorable Member
Joined: 21 years ago
Posts: 651
 

Just count the exx files in the folder - if there should be 100 and there are less than this, then one or more are misssing.



   
ReplyQuote
jaclaz
(@jaclaz)
Illustrious Member
Joined: 19 years ago
Posts: 5133
 

To generalize the question (in order to narrow it 😯 ).

You have an unknown number of files in a folder with the same name but extensions in the E01 to E99 range?

A FOR loop in *any* language can possibly do, something *like* (batch)

FOR /L %%A IN (1,1,99) DO (
SET extension=0%%A
SET extension=E!extension~-2,2!
IF EXIST filename.!extension! (
ECHO FILE filename.!extension! OK
SET Last=filename.!extension!
) ELSE (
ECHO FILE filename.!extension! is missing
)
)
ECHO LAST found is %Last%

jaclaz



   
ReplyQuote

Enterprise Partners

  • semantics21 2026 FF logo
  • celebrite-logo
  • atola-logo
  • MagnetForensics_ForensicFocus

Partners

  • ADF
  • logo Belkasoft 135x100
  • Logo_MSAB_Black (2)
  • gmdsoft-logo
  • detego-logo
  • Aid4Mail-Logo

Academic Partners

  • University of Southampton logo 2
Share: