Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2.fluke 9/24/84; site tpvax.fluke.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxt!houxm!vax135!cornell!uw-beaver!fluke!rzdz From: rzdz@fluke.UUCP (Rick Chinn) Newsgroups: net.sources Subject: Re: cpdir shell script & man page for 4.2 BSD Message-ID: <592@tpvax.fluke.UUCP> Date: Wed, 1-May-85 12:10:50 EDT Article-I.D.: tpvax.592 Posted: Wed May 1 12:10:50 1985 Date-Received: Thu, 2-May-85 03:18:05 EDT References: <10123@brl-tgr.ARPA> Organization: John Fluke Mfg. Co., Inc., Everett, WA Lines: 36 > Yes, this is a trivial hack, but somebody had to do it. Cut at the > dotted lines. Works for us on VAX/4.2 BSD - others, beware. > > -- Rex > ............................................................................ > .TH CPDIR 1 LOCAL "USGS Pacific Marine Geology" > .SH NAME > cpdir - copy directory (and subdirectories) ... Pardon me, but doesn't the -r option to cp do the same thing? ...truncated portion of cp man page: cp [ -i ] [ -r ] file1 file2 cp [ -i ] [ -r ] file ... directory DESCRIPTION If the -r option is specified and any of the source files are directories, cp copies each subtree rooted at that name; in this case the destination must be a directory. -------------- works good for me... I tried direct e-mail, but the mailer bounced it back... must have been gatewayed from arpanet. oh-well... Rick Chinn John Fluke Mfg. Co MS 232E PO Box C9090 Everett WA 98206 {ihnp4!uw-beaver, ucbvax!lbl-csam, microsoft, allegra, ssc-vax}!fluke!rzdz (206) 356-5232