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

How can I sort by corrupted/unreadable files so I can delete?

Contributor ,
May 28, 2025 May 28, 2025

I have recently had a bad hard drive and many files were corrupted (100,000 +). When I view them in Lightroom they have a black "i" in the top right corner and a warning that LR can't read the file and won't be able to make adjustments. So I want to delete the files as they are now useless but taking up massive storage space. If LR can identify these files then I should be able to sort by them, select them and remove from catalog. They are all sprinkled randomly throughout a very large catalog and amny folders are filled with a random mix of corrupted files and good files together. How can I do this??  Screenshot 2025-05-28 075757.png

TOPICS
Windows
162
Translate
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

correct answers 1 Correct answer

LEGEND , May 29, 2025 May 29, 2025

[This post contains formatting and embedded images that don't appear in email. View the post in your Web browser.]

 

Method 1:

 

1. In the Library Filter bar, select Metadata, and then change the first column to filter on Metadata Status.  Select Unknown.

 

2. In the Library Filter bar, click Attribute, and then on the far right of the bar, click the Photo icon and the Virtual Copy icon, but not the Video icon (filtering out videos).

 

johnrellis_0-1748573503127.png

 

This will identify many (perhaps most) corrupted files, but sometim

...
Translate
LEGEND ,
May 28, 2025 May 28, 2025

Can you restore all the photos in bulk from their backups? If so, that would seem to be a better solution (assuming the backups are not corrupted, they shouldn't be corrupted, but you never know)

Translate
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
Contributor ,
May 28, 2025 May 28, 2025

Yes, working on that as we speak. But a lot of this won't be backed up, old files I don't need. In that case, I'll want to delete that stuff. I just can't find a way to identify and sort for these corrupted files that LRc can't read. If LRc know which ones they are, I should be able to search for them somewhow?

 

Translate
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
LEGEND ,
May 28, 2025 May 28, 2025

I do not know of a way to sort or filter photos in Lightroom Classic so that the corrupted ones are separated from the un-corrupted ones.

Translate
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
LEGEND ,
May 29, 2025 May 29, 2025

[This post contains formatting and embedded images that don't appear in email. View the post in your Web browser.]

 

Method 1:

 

1. In the Library Filter bar, select Metadata, and then change the first column to filter on Metadata Status.  Select Unknown.

 

2. In the Library Filter bar, click Attribute, and then on the far right of the bar, click the Photo icon and the Virtual Copy icon, but not the Video icon (filtering out videos).

 

johnrellis_0-1748573503127.png

 

This will identify many (perhaps most) corrupted files, but sometimes not all of them. It won't identify corrupted videos, because LR never finished implementing video metadata.

 

Method 2:

 

See here for a method using Export that takes longer but is more likely to identify every corrupt photo:

https://www.lightroomqueen.com/community/threads/validating-all-your-cataloged-photos-and-videos-for...

 

When it completes, you'll get the ability to save the list of corrupted files in a text file:

 

johnrellis_1-1748574309139.png

 

If you have many such files, you can then use the Any Filter plugin to search for all those files by pasting the list of corrupted file paths into this query: 

 

johnrellis_3-1748574590370.png

 

 

 

 

Translate
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
Contributor ,
May 30, 2025 May 30, 2025
LATEST

This is great, thank you johnrellis!

Translate
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