I'm trying to list missing files in a sequence in the terminal. While many answers existed here, they are not generic enough that I managed to adapt it to my situation. So if you can make a generic enough answer that will work for more people, please do it.
I'm doing ls {369..422}.avi >/dev/null to list missing files but I can't use * to match anything that ends with .avi. How can I do this?
The numbers are not in the end of the file but in the middle. So I should need something like *numbers*.avi
.avi, or anything that contains at least one number and ends inavi?findwill only find existing things. Freedo want's to check what's missing.