This program will make folders with a file.cpp inside it for you!
This file is really simple to customize, first of all open the file with any text editor.
If you want to modify the name of the folder/file or also the extension, you need to change the text "folder" for the folder name in line 6 and 7, "file" for the file name in line 7 and ".cpp" for the extension in the line 7.
string com1="mkdir folder_" + i;
string com2="touch ./folder_"+i+"/file_"+i+".cpp";
First you need to clone this repository.
git clone https://github.com/diamxncl/dirmaker
Go into the directory you just cloned:
cd dirmaker
You will need to compile the file before using it. To compile it you can install g++ in your linux by doing this:
First update your linux:
sudo apt update && sudo apt upgrade
Then install the program:
sudo apt-get install g++
To compile the file with g++, do:
g++ linux_dirmaker.cpp
Then execute it with:
./a.out