Date: Sat, 20 Mar 2004 22:10:14 +0800 From: "Zhang Weiwu" <weiwuzhang@hotmail.com> To: freebsd-questions@freebsd.org Subject: what's the difference of -R and -r? Message-ID: <BAY16-F43MqgryA2Tcu00005186@hotmail.com>
next in thread | raw e-mail | index | archive | help
>From cp(1):
Historic versions of the cp utility had a -r option. This
implementation
supports that option, however, its use is strongly discouraged, as it
does not correctly copy special files, symbolic links or fifo's.
So I keep using -R rather than -r in cp. But I found other commands like
scp(1), ncftp(1), does not support -R; they use -r.
Does that mean other tools like scp, ncftp, do not copy special files,
follow symbolic links rather than re-create them, do not deal with fifo's
correctly? I think it is reasonable, because creating symbolic links cross
different hosts is useless, so it is with special files. About fifo files,
I don;t know what that is:)
_________________________________________________________________
与联机的朋友进行交流,请使用 MSN Messenger: http://messenger.msn.com/cn
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BAY16-F43MqgryA2Tcu00005186>
