Beechglen Development Inc.
3862 Race Road - Cincinnati, Ohio 45211 - (513) 922-0509 - Fax (513) 347-2834

The online home of the company bringing you quality HP hardware and software support


Home | HP-UX | MPE/iX | Services | Search | Testimonials | Feedback

Copying Data Utilizing CPIO

When copying data from one directory to another, the best way to perform this is by utilizing the "cpio" command. cpio, with the proper options, will provide the retention of the original file creation date, ownership, and permissions. The following is an example utilizing "cpio" with the proper options.

Change into the directory you wish to copy (i.e. cd /source_dir) and type the following:

find `ls`|cpio -pduxvmc /dest_dir

Send mail to webmaster@beechglen.com with questions or comments about this web site.
Copyright © 2006 Beechglen Development Inc.
Last modified: 01/20/06