UNIX Programming, Certification, System Administration, Performance Tuning Reference Books
Copy an Existing Directory Structure

To make a copy of existing directory structures (excluding files) to a new location, run this at the root directory of the exisitng directory structure.

du -k|cut -f 2 | cpio -pd "newlocation"
 

Return to : Unix System Administration Hints and Tips