PCP(1)
π PCP(1) β the S3QL girlies' guide to copyin' trees in parallel π
okay bestie, so this is the pcp page from the S3QL manual, section 1, and honestly? it's a whole vibe. let's get into it π¦
β¨ NAME β¨
pcp β Recursive, parallel copy of directory trees π³π³π³
β¨ SYNOPSIS β¨
pcp [options] <source> [<source> ...] <destination>
β¨ DESCRIPTION β¨
So like, pcp is a wrapper β a lil delegating queen π β that starts up several sync processes to copy directory trees in parallel. and why would you do that? because it allows much better copying performance on file systems that have relatively high latency when retrieving individual files. likeβ¦ S3QL. iykyk π
β οΈ note, bestie, this matters: using this program only improves performance when copying from an S3QL file system. when you're copying to an S3QL file system, using pcp is more likely to decrease performance. soβ¦ read the room, okay? π
β¨ OPTIONS β¨
the pcp command accepts the following options, and we're going through all of them, no skips, periodt β¨
--log <target>β where your log messages go. writenonefor standard output, orsyslogfor the system logging daemon. anything else? it gets interpreted as a file name, simple as that. log files get rotated when they hit1 MiB, and at most5old log files will be kept. default:Noneπ--quietβ be really quiet π€«--debug-modules <modules>β activate debugging output from the modules you name (use commas to separate multiple modules, or'all'for everything, because why not). debug messages get written to whatever target you set with the--logoption.--debugβ activate debugging output from all S3QL modules. debug messages go to the target specified by the--logoption. it's giving "turn it all the way up" π₯--versionβ just print program version and exit. short, sweet, iconic π-aβ pass the-aHAXoption torsync.--processes <no>β number of rsync processes to use (default:10). ten lil workers doing the most πͺ
β¨ EXIT CODES β¨
pcp may terminate with the following exit codes, and yes we list every single one:
0β Everything went well. π slay.1β An unexpected error occurred. This may indicate a bug in the program. π not slay.2β Invalid command line argument or configuration file key. π«
β¨ SEE ALSO β¨
pcp is shipped as part of S3QL, https://github.com/s3ql/s3ql/. go look, bestie π«Ά
β¨ COPYRIGHT β¨
Β© 2008 Nikolaus Rath <Nikolaus@rath.org> β iconic behavior, honestly π
okay and that's the whole page!! this was S3QL version 5.2.3, dated Nov 02, 2024, and it lives in the PCP(1) manual. tysm for reading, go copy some trees in parallel, you got this π
β¨πΈ
π¦ where this page comes from
- debian trixie: s3ql 5.2.3+dfsg-2 Β· GPL-3.0-only
- ubuntu questing: s3ql 5.2.3+dfsg-2
- ubuntu resolute: s3ql 5.2.3+dfsg-2build1 Β· GPL-3.0-only
- ubuntu stonking: s3ql 5.2.3+dfsg-2build1 Β· GPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms