parrot_cp(1)

NAME

parrot_cp - a replacement for cp that provides higher performance when dealing with remote files via parrot_run.

SYNOPSIS

parrot_cp [options] ... sources ... <dest>

DESCRIPTION

parrot_cp is a drop-in replacement for the Unix cp command. It provides better performance when copying files to or from remote storage systems by taking advantage of whole-file transfer rather than copying files block-by-block.

OPTIONS

-f Forcibly remove target before copying.
-i Interactive mode: ask before overwriting.
-r
-R Recursively copy directories.
-s Make symbolic links instead of copying files.
-l Make hard links instead of copying files.
-u Update mode: Copy only if source is newer than target.
-v Verbose mode: Show names of files copied.
-h Help: Show these options.

EXIT STATUS

On success, returns zero. On failure, returns non-zero.

EXAMPLES

To use parrot_cp you can either call the code directly:
% parrot_run tcsh
% parrot_cp /tmp/mydata /chirp/server.nd.edu/joe/data
% exit
or alias calls to cp with calls to parrot_cp:
% parrot_run bash
% alias cp parrot_cp
% cp -r /chirp/server.nd.edu/joe /tmp/joe
% exit

COPYRIGHT

The Cooperative Computing Tools are Copyright (C) 2003-2004 Douglas Thain and Copyright (C) 2005-2011 The University of Notre Dame. This software is distributed under the GNU General Public License. See the file COPYING for details.

SEE ALSO

  • Cooperative Computing Tools Documentation
  • Parrot User Manual
  • parrot_run(1)
  • parrot_run_hdfs(1)
  • parrot_cp(1)
  • parrot_getacl(1)
  • parrot_setacl(1)
  • parrot_mkalloc(1)
  • parrot_lsalloc(1)
  • parrot_locate(1)
  • parrot_timeout(1)
  • parrot_whoami(1)
  • parrot_md5(1)

  • CCTools 3.5.0 released on 06/04/2012