For start, you can begin with this simple bash for loop:
for i in {001..250} ; do touch ./file$i ; done
This will create 250 empty files in current directory, named file001 till file250.
Touch (in this case) just creates a file, if it does not exist. Empty file.
If you want to create files with something in them, you can change the do
part of the for
loop. For instance do cp ./master.file ./newfile.$i
- which will copy file called master.file into the 250 new files and those will be called newfile.001 up to newfile.250.
Is it too confusing? It took me a while to understand how these things work in bash, but once I managed, I use it nearly every day. So feel free to ask, I'll try to explain it more and/or better.