Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

copy contents of folder to another folder in terminal

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.
Source by askubuntu.com #
 
PREVIOUS NEXT
Tagged: #copy #contents #folder #folder #terminal
ADD COMMENT
Topic
Name
5+4 =