Reference

parrot_cp(1)

a replacement for FCcpFT that provides higher performance when dealing with remote files via FCparrot_runFT.

NAME

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

SYNOPSIS

FCparrot_cp [options] ... sources ... <dest>FT

DESCRIPTION

FCparrot_cpFT is a drop-in replacement for the Unix FCcpFT 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,--force

Forcibly remove target before copying.

-i,--interactive

Interactive mode: ask before overwriting.

-r

Same as -R

-R,--recursive

Recursively copy directories.

-s,--symlinks

Make symbolic links instead of copying files.

-l,--hardlinks

)Make hard links instead of copying files.

-u,--update-only

Update mode: Copy only if source is newer than target.

-v,--version

Verbose mode: Show names of files copied.

-h,--help

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 FCcpFT with calls to FCparrot_cpFT:


        
    

    
        

% 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) 2022 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_cp(1) parrot_getacl(1) parrot_setacl(1) parrot_mkalloc(1) parrot_lsalloc(1) parrot_locate(1) parrot_timeout(1) parrot_whoami(1) parrot_mount(1) parrot_md5(1) parrot_package_create(1) parrot_package_run(1) chroot_package_run(1)

History

--force since Debian 10 (Buster); --hardlinks since Debian 10 (Buster); --help since Debian 10 (Buster); --interactive since Debian 10 (Buster); --recursive since Debian 10 (Buster); --symlinks since Debian 10 (Buster); --update-only since Debian 10 (Buster); --version since Debian 10 (Buster); -R since Debian 10 (Buster); -f since Debian 10 (Buster); -h since Debian 10 (Buster); -i since Debian 10 (Buster); -l since Debian 10 (Buster); -r since Debian 10 (Buster); -s since Debian 10 (Buster); -u since Debian 10 (Buster); -v since Debian 10 (Buster).