A
A
Azat Kiberov2018-12-25 17:54:31
Windows
Azat Kiberov, 2018-12-25 17:54:31

How to make many files with one click?

I want to make many files with the same type of content.
Here is the 1.php file to make up the number 100.php .
How to implement the minimum possible operation.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
vreitech, 2018-12-25
@mbxngtgo

#!/bin/bash
for i in {2..100}.php; do cp 1.php $i; done

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question