I have a directory containing a set of subdirectories and files. I need to recursively copy all the content of this directory to all the subdirectories of another directory, also recursively.
How do I achieve this, preferably without using a script and only with the cp
command?
You can write this in a script but you don't have to. Just write it line by line in the terminal:
Only uses
cp
and runs on both bash and zsh.