Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Dec 2004 22:23:01 -0500
From:      Mike Jeays <Mike.Jeays@rogers.com>
To:        Robert Huff <roberthuff@rcn.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Copying a directory hierarchy
Message-ID:  <1103685781.33623.9.camel@chaucer>
In-Reply-To: <16840.55078.815394.941348@jerusalem.litteratus.org>
References:  <1103680952.33623.2.camel@chaucer> <16840.55078.815394.941348@jerusalem.litteratus.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 2004-12-21 at 21:08, Robert Huff wrote:
> Mike Jeays writes:
> 
> >  How does on copy a complete directory hierarchy, including any hidden
> >  files?
> >  
> >  "cp -rp" leaves them out.
> 
> 	cp -rp *
> 	cp -rp .*
> 
> 
> 				Robert Huff
> 
> 
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"

This doesn't copy hidden files in lower-level directories, only in the
top level.  Thanks for the suggestion - a good idea that doesn't quite
do it.



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