So I need to create 5,000,000,000 files on a linux drive - empty files. What is the fastest / most efficient way to achieve this?

What I am currently trying:

`for dir in /xfs/*/; do seq 1 1000000 | xargs -n1 -I% bash -c 'touch '$dir/file%' ; done;`

This is "working," albeit very slowly. (creating 1,000,000 files in 5,000 directories).

Is there a better way to accomplish this? (without running in to the *Argument list too long* issue)

TIA