How to copy folder with subdirectories in Linux Copy from /home/source/data to /home/target/folder even the /home/target/folder is not exists. cp -avr /home/source/data /home/target/folder