Fri, Feb 11, 2000 at 06:13:26PM -0800, Tamas D'Varde wrote:
> cp -r is not a recursive copy.  You have to use cp -R.
> 
>

no. cp -r is a recursive copy in the cp from GNU fileutils 4.01 and
at least as far back as 3.13 ( the oldest version available on 
ftp.gnu.org ( if you're using something older than that, you need
an upgrade )).

from the cp man page from GNU fileutils 4.01
---------------------------------------------

-r     copy recursively, non-directories as files WARNING:
        use  -R  instead  when you might copy special files
        like FIFOs or /dev/zero

----------------------------------------------

It just causes problems with block and character devices. If you tried to
do a cp -r /dev/ /mnt/dev, cp would choke and instead of creating devices,
it would try to read each device like it was a file, and read it until it 
couldn't read it anymore. But -r is recursive.

have a nice day

greg

-- 
this is not here

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs

Reply via email to