On Tue, Sep 18, 2001 at 08:55:11AM -0700, Rick Moen uttered:
> Do "cd / ; cp -axr /var /home".
>
Found, one bonehead error.
-r copy recursively, non-directories as files WARNING:
use -R instead when you might copy special files
like FIFOs or /dev/zero
Last I checked, /var contained FIFOs.
-a implies -R, so using cp -ax should be fine.
> Warning: It's morning here, and I am absolutely not a morning person.
> There may well be bonehead errors in the above on account of
> insufficient caffeine. But it will at least illustrate the concept.
>
It's morning here, too. ;-)
--
Steve
BOFH excuse #274: It was OK before you touched it.
PGP signature