Cp -r [dir] [new dir name]

  • Add “-r” [cp -r] to copy a directory and its sub-directories (recursive).
  • Add -n to avoid over-writing existing files.
  • Add -p to preserve attributes like access time, modification date.