본문 바로가기
OS-OE Knowledge/Linux-Unix KB

Linux/Directory copy

by 스쳐가는인연 2019. 9. 4.

Directory copy

# cp -r source_directory target_directory

 

Multiple file overwrite without interactive

# \cp -rf source_directory target_directory
# /bin/cp -rf source_directory target_directory

 

출처:

cp 강제로 덮어쓰기
https://zetawiki.com/wiki/CentOS_cp_%EA%B0%95%EC%A0%9C%EB%A1%9C_%EB%8D%AE%EC%96%B4%EC%93%B0%EA%B8%B0

리눅스에서 폴더 통째로 복사하기
https://zetawiki.com/wiki/%EB%A6%AC%EB%88%85%EC%8A%A4%EC%97%90%EC%84%9C_%ED%8F%B4%EB%8D%94_%ED%86%B5%EC%A7%B8%EB%A1%9C_%EB%B3%B5%EC%82%AC%ED%95%98%EA%B8%B0

반응형