linux cp copy all the files in a directory

mkdir gpio

cp -r build/ /home/yl/gpio

This put the build directory and all the files are copied to the gpio folder.

Guess you like

Origin www.cnblogs.com/CodeWorkerLiMing/p/11016388.html