提醒:copy files and create the directories if it doesn’t exist 2011年09月05日

来自: Linux by Examples
订阅:sagasw, u84123981
演示:以MSN订阅提醒为例 订阅到哪吒,有更新提醒我
哪吒机器人提醒:
提醒:Linux by Examples
【标题】copy files and create the directories if it doesn’t exist
【摘要】it always have a need for this simple operation.i wanna copy certain files to a destination, but i wanna preserved the sub directories structure, any cp option to set? for examples, i wanna copy my_project/cpp/hello.cc to your_project folder, but i want it to appear as your_project/cpp/hello.cc automatically. especially i wanna do it in a batch of file.by just using cp command, until today, i do not see such option for it.you need additional commands, dirname and mkdir.you may read a list of... (09-05 12:10)
收藏 |  评论 |  推荐给好友  | 
本文共有 0 次分享
评论
共有 - 条评论


我要反馈