Create multiple files at once with ‘touch’

Sometimes we might need to create thousands or millions of files at once.

This command will create the number specified in the range using touch:

touch bspl{00001..70000}.c

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s