This command will copy a directory with its content to another directory, for example you have a directory name x, you want to copy it to another directory name y
1 | cp -dpr x |
or
1 | cp -a x y |
This command will copy a directory with its content to another directory, for example you have a directory name x, you want to copy it to another directory name y
1 | cp -dpr x |
or
1 | cp -a x y |