Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save sonyarianto/906848c9fa2201be6d0ec2cfdadcff1a to your computer and use it in GitHub Desktop.
Save sonyarianto/906848c9fa2201be6d0ec2cfdadcff1a to your computer and use it in GitHub Desktop.
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