Name
rcp
Synopsis
rcp [options
]file1 file2
rcp [options
]file ... directory
Copies files between two machines. Each file or directory is either a remote filename of the form rname@rhost:path or a local filename.
rcp
does not preserve resource forks or metadata
when copying files that contain them.
Options
-
-K
Suppress all Kerberos authentication.
-
-k
Attempt to get tickets for remote host; query
krb_realmofhost
to determine realm.-
-p
Preserve modification times and modes of the source files.
-
-r
If any of the source files are directories,
rcp
copies each subtree rooted at that name. The destination must be a directory.-
-x
Turns on DES encryption for all data passed by
rcp
.
Get Mac OS X in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.