Joshua Penix wrote:
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).
I tried this, but got this error after a while:
rsync: writefd_unbuffered failed to write 4 bytes [sender]: Broken pipe (32)
rsync: close failed on "/eighthome/dallen/Application Data/Spybot -
Search & Destroy/Recovery/.Mozilla.zip.TI4SDn": Input/output error (5)
rsync error: error in file IO (code 11) at receiver.c(628) [receiver=2.6.8]
rsync: connection unexpectedly closed (14802 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(463)
[sender=2.6.8]
As you might guess the file mentioned above is a Windows file. I was
getting similar I/O errors using a cp -av command also, although it
wasn't on the same file.
Anyone see this kind of error before with rsync?
--
Best Regards,
~DJA.
--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list