Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Dec 2004 21:02:32 -0500
From:      Mike Jeays <Mike.Jeays@rogers.com>
To:        freebsd-questions@freebsd.org
Subject:   Copying a directory hierarchy
Message-ID:  <1103680952.33623.2.camel@chaucer>

next in thread | raw e-mail | index | archive | help
How does on copy a complete directory hierarchy, including any hidden
files?

"cp -rp" leaves them out.

Some versions of cp seem to have a '-a' flag which will make it copy
them, but it isn't available in the FreeBSD version.  Is there a trick,
or something obvious I have missed?




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1103680952.33623.2.camel>