Creating multiple dummy files

Sometimes you may want to fill some directories with files to test acting on actual directories with files.

Using bash you can easily do this (replace n with the number of files you want):

If you want to create files in '.': touch file{001..n}.txt

If you want to create files in all subdirectories: touch */file{001..n}.txt