Suppose I have a bunch of files named this way:
file01.txt file02.txt file03.txt ... file20.txt
and I want to execute a command on a range of these files.
I know if want to 'rm' from 'file05.txt' to 'file09.txt' I can do:
rm file0[5-9].txt
but how can I 'rm' a range from file08.txt to file13.txt? I tried this code
rm file[08-13].txt
and it doesn't work. I could run this command:
rm file0[89].txt file1[0-3].txt
but I'd like to know if I can do this with only one more refined argument to 'rm' if it is possible.