My folder structure is like this:
ej-1/index.html
ej-1/js/scripts.js
ej-2/index.html
ej-2/js/scripts.js
...
ej-12/index.html
ej-12/js/scripts.js
Sometimes I need to re-structure the other ennumerated folders with a new default set of files and folders. For that end, I'm trying to copy the ideal folder base structure to the others, using the following:
cp -r ej-1/* ej-{2..12}/*
My expectation was:
ej-1/* -> ej-2/*
ej-1/* -> ej-3/*
...
ej-1/* -> ej-12/*
Instead, it copies the content of each folder to the last one, making some overwritting nonsense:
ej-1/* -> ej-12/*
ej-2/* -> ej-12/*
ej-3/* -> ej-12/*
...
What am I doing wrong?