Sequential files in shell script

0

Good morning, I have the following problem: I have many files of the format somehow_X_YZ.txt, YZ represents a sequence of days.

I want to know how I can check if in a particular folder, with these files that vary YZ, if they are all present, such as:

something_X_ 01 .txt something_X_ 02 .txt . . . 30 .txt

I need some command that verifies this sequence of all the files of that sequence are in the folder.

    
asked by anonymous 12.09.2018 / 16:49

0 answers