This list of files:
FILE0001
FILE0002
FILE0003
FILE0004
FILE0005
FILE0006
FILE0007
FILE0008
FILE0009
FILE0010
I want to delete all except the following:
FILE0001
FILE0008
FILE0010
How do I do this expression?
There can be a very time-consuming expression, because the files are large. There are other files in that directory. And that can not be affected or removed. Even in the same pattern names.
Example:
FILE0001.1
FILE0002.2