suppose the files in a directory are named in numbers, how can I find which numbers are missing?
For example, in the current directory,
$ ls
0000.png 0002.png 0004.jpg 0005.png 0007.jpg
0001
, 0003
, and 0006
are missing.
thanks.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…