Answer the question
In order to leave comments, you need to log in
How to write a terminal macro to create multiple files at once in one folder?
For example, how to create a command, for example addblock template
, and as a result, such a structure should be created
template/
-template.php
-template.less
-template.js
Thanks in advance
Answer the question
In order to leave comments, you need to log in
#!/bin/bash
mkdir $1
cd $1
echo -n > $1.php
echo -n > $1.less
echo -n > $1.js
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question