Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
How to copy folder with subdirectories in Linux.md

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment