copy files and create the directories if it doesn’t exist

June 3rd, 2011 mysurface

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/ to your_project folder, but I want it to appear as your_project/cpp/ automatically. Especially I wanna do it in a […]

Posted in dirname | Hits: 182401 | 39 Comments »