4 thoughts on “Copy entire folder in Linux”

  1. better explanation would be:
    mkdir target_dir
    cd source_dir
    cp -ap . /path/to/target_dir
    mkdir : makes directory
    cd : goes to a directory
    cp : command for copy
    -ap : cp options for copying files/folders with the same attributes/permissions…
    . : stands for all files/folders


Leave a Comment

Please answer question below to verify that you are a real person *