Posted April 17, 201410 yr I have a number of files with names like xyz00001.txt, xyz00002.txt, etc. I would like to check that there are no breaks in the sequential numbers. Sequence should always start with 00001. Looking for how to implement that in a bash script and would like to have error message and the location of the break in sequence (if there is a break). Message with total number of files in sequence would be a plus. Continue reading...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.