how to detect corrupted file

jdd at jdd at
Tue Apr 11 10:07:05 BST 2023

Le 11/04/2023 à 11:04, jdd at a écrit :
> Le 11/04/2023 à 10:01, frederic chaume a écrit :
>> Hi all
>> Following the crash I had last week, I discovered 3 corrupted files (in
>> the same album) . Hopefully it was Jpeg and I have been able to genrate
>> them again.
>> But I'm wondering if there could be other corrupted files over the
>> hundred of thousands of files I have under DK. So I would like to know
>> if there is a way to identify them so I can recover them from my backup
>> here,  corrupted means the thumbnail doens't show the picture but a
>> green logo and effectively when I click on it, nothing is displayed
>> thanks for your help
>> Frederic
> ce sont souvent des fichiers vides (taille zéro), j'ai un script pour
> les trouver. Attention, certains sont vides volontairement, leur liste
> peut être mise dans fichers-vides-normaux

sorry, I forgot the list was english. corrupted files are often empty, 
so the script to find them.

I may add that sometime only part of the jpg file is missing, giving a 
photo with part of it grey, I don't know hos to find these ones
> #!/bin/bash
> #trouver les fichiers vides
> #(taille zéro), anormaux
> #les fichiers normalement vides sont dans "fichers-vides-normaux"
> #fonctionne à partir du répertoire courant
> find  . -empty | grep -i -v -f ~/bin/fichiers-vides-normaux
> jdd

mon serveur usenet:
c'est quoi, usenet?

More information about the Digikam-users mailing list