lsrcp

lsrcp

remotely copies files using LSF

Synopsis

lsrcp [-a]source_file target_file

lsrcp [-h -V]

Description

Remotely copies files using LSF.

lsrcp is an LSF-enabled remote copy program that transfers a single file between hosts in an LSF cluster. lsrcp uses RES on an LSF host to transfer files. If LSF is not installed on a host or if RES is not running then lsrcp uses rcp to copy the file.

To use lsrcp, you must have read access to the file being copied.

Both the source and target file must be owned by the user who issues the command.

lsrcp uses rcp to copy a source file to a target file owned by another user. See rcp(1) and LIMITATIONS below for details.

Options

-aAppends source_file to target_file.

source_file target_file Specify an existing file on a local or remote host that you want to copy, and a file to which you want to copy the source file.

File format is as follows:

[[user_name@][host_name]:][path/]file_name

user_name

Login name to be used for accessing files on the remote host. If user_name is not specified, the name of the user who issued the command is used.

host_name

Name of the remote host on which the file resides. If host_name is not specified, the local host, the host from which the command was issued, is used.

path

Absolute path name or a path name relative to the login directory of the user. Shell file name expansion is not supported on either the local or remote hosts. Only single files can be copied from one host to another.

Use "\" to transfer files from a Windows host to another Windows host. For example:

c:\share>lsrcp file1 hostA:c:\temp\file2

Use "/" to transfer files from a UNIX host to a UNIX host. For example:

lsrcp file1 hostD:/home/usr2/test/file2

270Platform LSF Command Reference