parrot_cp(1)

πŸ“¦
version 9.9 Β· 3 versions
, in debian bookworm, ubuntu jammy, ubuntu noble

πŸ’– parrot_cp β€” bestie edition πŸ’–

okay so this is parrot_cp(1), a manual page from the Cooperative Computing Tools, and it's literally the glow-up of cp you didn't know you needed. stay with me, it's not that deep 🫢


✨ NAME ✨

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

no cap. it's cp but faster when your files live far, far away. πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

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

🌸 DESCRIPTION 🌸

So parrot_cp is a drop-in replacement for the Unix cp command. Like, you can just swap it in and nobody will notice. πŸ™ˆ

The whole point? It gives you better performance when copying files to or from remote storage systems, because it takes advantage of whole-file transfer rather than copying files block-by-block.

it's giving "why copy it in tiny lil pieces when you could just send the whole thing at once" and honestly? iconic. ✨


πŸŽ€ OPTIONS πŸŽ€

  • -f, --force β€” Forcibly remove target before copying. no asking, no mercy πŸ’€
  • -i, --interactive β€” Interactive mode: ask before overwriting. it's polite, it checks in first πŸ₯Ί
  • -r β€” Same as -R. that's it, that's the whole flag.
  • -R, --recursive β€” Recursively copy directories. folders inside folders inside folders, we go all the way down πŸŒ€
  • -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. lowkey a time-saver fr fr ⏰
  • -v, --version β€” Verbose mode: Show names of files copied. (yes bestie, the long form is literally --version and it's verbose mode, that's just how it is, iykyk πŸ™ˆ)
  • -h, --help β€” Help: Show these options.

πŸ‘‘ EXIT STATUS πŸ‘‘

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

that's it. zero = slay, non-zero = something went sideways 😭


🌈 EXAMPLES 🌈

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

okay the alias one is genuinely main character energy πŸ‘‘ you literally just make cp be parrot_cp and then forget it ever happened.


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


⭐ SEE ALSO ⭐


that's the whole page bestie, you ate it πŸ’… mwah! this lil masterpiece is CCTools 8.0.0 DEVELOPMENT β€” the parrot_cp(1) manual page. go forth and copy things the fast way πŸ¦‹πŸ’–βœ¨

πŸ“¦ where this page comes from