Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ xcp(1C) — GL1 W2.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

cp(1)

xlogin(1C)

xx(1C)

XCP(1C)  —  Silicon Graphics

NAME

xcp − remote file copy

SYNOPSIS

xcp [ −Lrv ] file1 file2
xcp [ −Lrv ] file ... directory

DESCRIPTION

Xcp copies files between machines.  File1 is copied to file2 or file is copied to directory/file. 

Each file or directory argument is either a remote file name of the form rhost:path, or a local file name.  ( If the file name contains a :, put a ./ before the file name to specify a file in the current directory.  For example, to send the file x:, use the command: xcp ./x: remote:x:)

The login name of the user sending a file over the network must be recognized by the remote machine or rhost may take the form rhost.rname to use rname rather than the current login name on the remote host.  Xcp does not prompt for passwords; your current local login name must exist on rhost and allow remote command execution via xlogin(1).  If path is not a full path name, it is interpreted relative to your login directory on rhost.  A path on a remote host may be quoted (using \, ", or ´) so that the metacharacters are interpreted remotely.  Xcp handles third party copies, where neither source nor target files are on the current machine. 

If the argument −r is specified and any of the source files are directories, xcp copies each subtree rooted at that name; in this case the destination must be a directory. 

The −v option causes the file name to be printed as each file is copied. 

The −L option causes symbolic links to be followed.  Normally symbolic links are transferred as such. 

FILES

/bin/xx

SEE ALSO

cp(1), xlogin(1C), xx(1C)

BUGS

Xcp doesn’t detect all cases where the target of a copy might be a file in cases where only a directory should be legal. 

Xcp is confused by any output generated by commands in a .login, .profile, or .cshrc file on the remote host. 

When copying with -r, links within a subtree are not preserved. 

Long file names (>950 bytes) may cause trouble.  Revision 1.0  85/05/03  12:58:26  robinf Initial Revision
 

Version 2.3  —  July 04, 1985

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026