Annotation of 43BSDReno/bin/rcp/rcp.1, revision 1.1

1.1     ! root        1: .\" Copyright (c) 1983, 1990 The Regents of the University of California.
        !             2: .\" All rights reserved.
        !             3: .\"
        !             4: .\" Redistribution and use in source and binary forms are permitted provided
        !             5: .\" that: (1) source distributions retain this entire copyright notice and
        !             6: .\" comment, and (2) distributions including binaries display the following
        !             7: .\" acknowledgement:  ``This product includes software developed by the
        !             8: .\" University of California, Berkeley and its contributors'' in the
        !             9: .\" documentation or other materials provided with the distribution and in
        !            10: .\" all advertising materials mentioning features or use of this software.
        !            11: .\" Neither the name of the University nor the names of its contributors may
        !            12: .\" be used to endorse or promote products derived from this software without
        !            13: .\" specific prior written permission.
        !            14: .\" THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
        !            15: .\" WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
        !            16: .\" MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
        !            17: .\"
        !            18: .\"     @(#)rcp.1      6.11 (Berkeley) 7/24/90
        !            19: .\"
        !            20: .Dd July 24, 1990
        !            21: .Dt RCP 1
        !            22: .Os BSD 4.2
        !            23: .Sh NAME
        !            24: .Nm rcp
        !            25: .Nd remote file copy
        !            26: .Sh SYNOPSIS
        !            27: .Nm rcp
        !            28: .Op Fl p
        !            29: .Op Fl k Ar realm
        !            30: .Ar file1 file2
        !            31: .Nm rcp
        !            32: .Op Fl p
        !            33: .Op Fl r
        !            34: .Op Fl k Ar realm
        !            35: .Ar file ...
        !            36: .Ar directory
        !            37: .Sh DESCRIPTION
        !            38: .Nm Rcp
        !            39: copies files between machines.  Each
        !            40: .Ar file
        !            41: or
        !            42: .Ar directory
        !            43: argument is either a remote file name of the
        !            44: form ``rname@rhost:path'', or a local file name (containing no `:' characters,
        !            45: or a `/' before any `:'s).
        !            46: .Pp
        !            47: .Tp Fl r
        !            48: If any of the source files are directories,
        !            49: .Nm rcp
        !            50: copies each subtree rooted at that name; in this case
        !            51: the destination must be a directory.
        !            52: .Tp Fl p
        !            53: The
        !            54: .Fl p
        !            55: option causes
        !            56: .Nm rcp
        !            57: to attempt to preserve (duplicate) in its copies the modification
        !            58: times and modes of the source files, ignoring the
        !            59: .Ar umask  .
        !            60: By default, the mode and owner of
        !            61: .Ar file2
        !            62: are preserved if it already existed; otherwise the mode of the source file
        !            63: modified by the
        !            64: .Xr umask  2
        !            65: on the destination host is used.
        !            66: .Tp Fl k
        !            67: The
        !            68: .Fl k
        !            69: option requests
        !            70: .Nm rcp
        !            71: to obtain tickets
        !            72: for the remote host in realm
        !            73: .Ar realm
        !            74: instead of the remote host's realm as determined by
        !            75: .Xr krb_realmofhost  3  .
        !            76: .Tp
        !            77: .Pp
        !            78: If
        !            79: .Ar path
        !            80: is not a full path name, it is interpreted relative to
        !            81: the login directory of the specified user
        !            82: .Ar ruser
        !            83: on
        !            84: .Ar rhost  ,
        !            85: or your current user name if no other remote user name is specified.
        !            86: A
        !            87: .Ar path
        !            88: on a remote host may be quoted (using \e, ", or \(aa)
        !            89: so that the metacharacters are interpreted remotely.
        !            90: .Pp
        !            91: .Nm Rcp
        !            92: does not prompt for passwords; it performs remote execution
        !            93: via
        !            94: .Xr rsh  1  ,
        !            95: and requires the same authorization.
        !            96: .Pp
        !            97: .Nm Rcp
        !            98: handles third party copies, where neither source nor target files
        !            99: are on the current machine.
        !           100: .Sh SEE ALSO
        !           101: .Xr cp 1 ,
        !           102: .Xr ftp 1 ,
        !           103: .Xr rsh 1 ,
        !           104: .Xr rlogin 1
        !           105: .Sh HISTORY
        !           106: .Nm Rcp
        !           107: appeared in 4.2 BSD.  The version of rcp described here
        !           108: has been reimplemented with Kerberos in 4.3+Reno BSD.
        !           109: .Sh BUGS
        !           110: Doesn't detect all cases where the target of a copy might
        !           111: be a file in cases where only a directory should be legal.
        !           112: .Pp
        !           113: Is confused by any output generated by commands in a
        !           114: .Pa \&.login ,
        !           115: .Pa \&.profile ,
        !           116: or
        !           117: .Pa \&.cshrc
        !           118: file on the remote host.
        !           119: .Pp
        !           120: The destination user and hostname may have to be specified as
        !           121: ``rhost.rname'' when the destination machine is running the 4.2BSD
        !           122: version of
        !           123: .Nm rcp  .

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.