Xiao Peng

My personal blog moves to xiaopeng.me , blogs about design patterns will be synced to here.
肖鹏,ThoughtWorks资深咨询师,目前关注于架构模式、敏捷软件开发等领域,并致力于软件开发最佳实践的推广和应用。
多次为国内大型企业敏捷组织转型提供咨询和培训服务,在大型团队持续集成方面具有丰富的经验。
  博客园  :: 首页  :: 联系 :: 订阅 订阅  :: 管理

linux拷贝整个目录

Posted on 2007-12-24 10:19  勇敢的鸵鸟  阅读(3003)  评论(0编辑  收藏  举报

Copy entire folder in Linux

| | Comments (2) | TrackBacks (0)

To copy an entire folder (directory tree) in Linux, use the following method:

mkdir target_directory
cd source_directory
cp -ap . target_directory

Other options:
cp -apv . target_directory (for verbose results)
\cp -ap . target_directory (for unix)

More info:
- linuxguide.sourceforge.net

Categories



Powered by ScribeFire.