Need to be able to copy files from domain folder to an other.
I have tried:
cp -r domain-name1.com domain-name2.com
cp -r --copy-contents domain-name1.com domain-name2.com
both with the same result of copying the domain-name1.com directory and sub-folder and files in the sub-folders into the the target directory.
However it did not copy the files in the main domain-name1.com folder.
Anyone know the correct way to copy the contents of a folder into an other folder without getting the main source folder stuffed into the target folder?