cp -r source_folder/. dest_folder # notice the /. at the end of source folder. # this copies the contents of the folder rather than the folder itself.