Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84 SMI; site sun.uucp Path: utzoo!watmath!clyde!burl!ulysses!gamma!epsilon!zeta!sabre!petrus!bellcore!decvax!decwrl!sun!guy From: guy@sun.uucp (Guy Harris) Newsgroups: net.unix-wizards Subject: Re: tar fs copy Message-ID: <2916@sun.uucp> Date: Tue, 22-Oct-85 03:15:37 EDT Article-I.D.: sun.2916 Posted: Tue Oct 22 03:15:37 1985 Date-Received: Thu, 24-Oct-85 00:38:21 EDT References: <240@investor.UUCP> <13700116@uiucdcs> <3408@pur-ee.UUCP> Organization: Sun Microsystems, Inc. Lines: 16 > The 'F' option is neat.... if you double it, 'FF', then tar will > not put any files whose names end in ".o" onto the tape. This is more correct than my explanation. "F" leaves out SCCS directories and "core" and "errs" files; "FF" also leaves ".o" and "a.out" files (files named "a.out", not arbitrary executable images). One of "cpio"s two redeeming features (the other is that it understands file which aren't plain files or symlinks) is that it reads a list of files to write from its standard input, so you can construct arbitrary filters which will specify which files do and don't go. (It still doesn't make up for "cpio"s deficiencies - somebody proposed, and may have implemented, an option to "tar" to have it read its list of files to write from its standard input.) Guy Harris