Question: how to copy files from one folder to another folder using shell script?
Answer: If you want to copy a directory recursively from one location to another using the cp command, use the -r/R option with the cp command. It copies the folder including the subdirectories and their files to the target directory. The folder name remains same. Use the ls command to check this.