Re: How to Copy Directory Structure w/o Copying Files

From: ARPON Martin TECSIS (marpon@TECSIS.COM)
Date: Mon Jul 21 2003 - 13:07:52 EDT


cd old_dir
find . -type d -depth -print | cpio -pd new_dir
 
Regards,
 
Martín

-----Original Message-----
From: PUB: Ranbir Singh [mailto:Singh@XAVIER.EDU]
Sent: Monday, July 21, 2003 1:38 PM
To: aix-l@Princeton.EDU
Subject: How to Copy Directory Structure w/o Copying Files

I am trying to copy the entire substructure of a directory to another
directory. How can I do this without copying the actual files in those
subdirectories as well?
 
Thanks for your help,
RS
 

--------------------------------
"Colorless green ideas sleep furiously."
--------------------------------
Ranbir Singh
Information Systems and Services
O: 513.745.3889
E: singh@xavier.edu <mailto:singh@xavier.edu>
 
Xavier University
3800 Victory Parkway
Cincinnati, Ohio 45207-7411



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:17:03 EDT