Bob MillerSat Jul 10 11:43:23 PDT 2004
Rob Hudson wrote: > So which is better... > > cp -a > or tar cfl . | tar xfp tar lets you explicitly exclude files/directories (using --exclude=pattern) or restrict to a single filesystem (using -l/--one-file-system). cp probably runs faster, since the data is not marshalled, written to a pipe, read from the pipe, and unmarshalled. cp is generally easier to type. (-: So if you need something that only tar does, use tar. Otherwise use cp. -- Bob Miller K<bob> kbobsoft software consulting http://kbobsoft.com kbob at jogger-egg.com