On Jul 7, 2006, at 5:28 PM, DJA wrote:

Okay, I know this is a stupid newbie question I should know, but...
What's the best way to copy the contents of a directory, including hidden "." files?

I'd use rsync:

rsync -av src_dirname/ dest_dirname/

Preserves original date and time, ownership and permissions (assuming done as root).

--
Joshua Penix                                http://www.binarytribe.com
Binary Tribe           Linux Integration Services & Network Consulting



--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to