parrot_cp1
A replacement for fccpft that provides higher performance when dealing with remote files via fcparrot_runft.
Usage
FCparrot_cp [options] ...
sources ...
<dest>FT
Overview
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
Releases
6 releases since Debian 7 (Wheezy); the text changed 4 times.
--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).