Path: utzoo!attcan!uunet!ateng!chip From: chip@ateng.com (Chip Salzenberg) Newsgroups: comp.unix.questions Subject: Recursive copy Message-ID: <2569CAFE.12050@ateng.com> Date: 21 Nov 89 22:23:57 GMT References: <21495@adm.BRL.MIL> Organization: A T Engineering, Tampa, FL Lines: 16 According to Kemp@DOCKMASTER.NCSC.MIL: >Just for the record, is there *any* way to do a recursive copy >correctly? I.e. one that doesn't: > > * turn symbolic links into actual files > * turn link loops into a series of infinitely nested copies > * alter the modify and change times > * choke on block and character special files > * turn holes in sparse files into real disk blocks If you've got SCO Xenix, "copy -rom" will copy special files correctly and preserve access and modification times. -- You may redistribute this article only to those who may freely do likewise. Chip Salzenberg at A T Engineering; or "Did I ever tell you the Jim Gladding story about the binoculars?"