Copy linux

July 6, 2021 . 1 MIN READ

http://www.linux.com/learn/answers/view/514-move-all-files-from-a-directory-to-another-one

try the copy command ‘cp’
$ cp -r myfolder/* destinationfolder

cp -r means copy recurrsive, so all folders and files will be copied.

You can use the remove command ‘rm’ to remove a folder
$ rm -r myfolder
– See more at: http://www.linux.com/learn/answers/view/514-move-all-files-from-a-directory-to-another-one#sthash.PQR3zo7i.dpuf

Leave a Reply

Your email address will not be published. Required fields are marked *