June 7th, 2023, 13:38
June 7th, 2023, 15:53
June 7th, 2023, 16:27
June 8th, 2023, 4:57
June 8th, 2023, 17:18
for %i in (\Recovered\*.xlsx) do 7z t %i -r >> xlsx_test_log.txt
June 9th, 2023, 4:58
for f in *.mov; do ffmpeg -i "${f}" -vcodec copy -acodec copy "${f%.*}.mkv"; done
for f in *.mov; do ffmpeg -i "${f}" -vcodec copy -acodec copy "${f%.*}newfile.mp4"; done
for f in *.mp4; do ffmpeg -i "${f}" -vcodec copy -acodec copy "${f%.*}.mkv"; done
ffmpeg -i sourcefile.mp4 -vcodec copy -acodec copy output.mkv
June 9th, 2023, 6:27
June 9th, 2023, 7:40
Lardman wrote:This is a lot easier if you just produce a report of files with problem sectors from pc3000 or whatever tool you're using to to logical extraction. Trying to do things after the event are always going to be problematic.
June 9th, 2023, 10:31
fzabkar wrote:If the files are compressed (eg xlsx, docx, zip, 7z, rar), then you could test the files from the command line using 7-Zip.
https://7ziphelp.com/7zip-command-line
I think this command should test all the XLSX files in the \Recovered directory, and then write each result to a log file (the "-r" may not be necessary):
- Code:
for %i in (\Recovered\*.xlsx) do 7z t %i -r >> xlsx_test_log.txt
June 9th, 2023, 10:33
hvd wrote:Hi mr44er
I tested BadPeggy-2.4.0 software to verify photos and mp3val for mp3 that they work.
I am still looking for the software to check videos and word, excel.
THANKS
June 9th, 2023, 10:42
mr44er wrote:You could use ffmpeg to copy video files into a new container and log the output into a file. If anything is broken, ffmpeg will detect it.
Some example:
- Code:
for f in *.mov; do ffmpeg -i "${f}" -vcodec copy -acodec copy "${f%.*}.mkv"; done
for f in *.mov; do ffmpeg -i "${f}" -vcodec copy -acodec copy "${f%.*}newfile.mp4"; done
for f in *.mp4; do ffmpeg -i "${f}" -vcodec copy -acodec copy "${f%.*}.mkv"; done
Edit:
I don't know how to script in Windows or if ffmpeg is available at all.
The manual way would be:
- Code:
ffmpeg -i sourcefile.mp4 -vcodec copy -acodec copy output.mkv
Also I remember that MS-Office software does keep hidden copies/versions in the same folder per file (but not how many and/or for everything)...maybe this older version is available if everything fails.
June 9th, 2023, 11:47
michael chiklis wrote:hvd wrote:Hi mr44er
I tested BadPeggy-2.4.0 software to verify photos and mp3val for mp3 that they work.
I am still looking for the software to check videos and word, excel.
THANKS
If i remember well, AgentRansack is able to check if office files are logically corrupt by ticking "Office/PDF documents" option and enabling "deep search function".
I tried it few years ago!
https://forum.hddguru.com/viewtopic.php ... 82#p282282
Download link:
https://www.mythicsoft.com/filelocatorpro/download/
June 9th, 2023, 13:39
hvd wrote:My Documents folder on external hard drive F:
in PowerShell
C:\Program Files\7-Zip> 7za for %i in (F:\Documents\*.xlsx) do 7z t %i -r >> xlsx_test_log.txt
Error:
F:\Documents\*.xlsx: The term "F:\Documents\*.xlsx" is not recognized as a cmdlet name, function,
script file or executable program. Check the spelling of the name, or if a path exists, verify that
the path is correct and try again.
At Line:1 character: 40
+ C:\Program Files\7-Zip> 7za for %i in (F:\Documents\*.xlsx) do 7z t % ...
+ ~~~~~~~~~~~~~~~~~~~
+ CategoryInfo: ObjectNotFound: (F:\Documents\*.xlsx:String) [], CommandNotFoundException
+ FullyQualifiedErrorId: CommandNotFoundException
THANKS
7-Zip 21.01 alpha (x86) : Copyright (c) 1999-2021 Igor Pavlov : 2021-03-09
Scanning the drive for archives:
1 file, 780106 bytes (762 KiB)
Testing archive: C:\test\FW-PPRO-6-0-4-Release.1032185.xlsx
--
Path = C:\test\FW-PPRO-6-0-4-Release.1032185.xlsx
Type = zip
Physical Size = 780106
Everything is Ok
Files: 12
Size: 4881639
Compressed: 780106
June 9th, 2023, 14:00
7z t F:\Documents\*.xlsx > xlsx_test_log.txt
June 10th, 2023, 2:57
fzabkar wrote:This also works and is far better:
- Code:
7z t F:\Documents\*.xlsx > xlsx_test_log.txt
June 10th, 2023, 14:49
Powered by phpBB © phpBB Group.