I am having some issues to copy a folder with files in that folder into another folder. Command cp -r
doesn't copy files in the folder.
The option you're looking for is -R
.
cp -R path_to_source path_to_destination/
destination
doesn't exist, it will be created.-R
means copy directories recursively
. You can also use -r
since it's case-insensitive./
as per @muni764's comment.