parallel-slurp(1)
π parallel-slurp β the manual, but make it make sense π
okay bestie, welcome to parallel-slurp(1) from the General Commands Manual section β yes she's a section 1 girlie, we love that for her π
β¨ NAME β¨
parallel-slurp β the parallel file download program. she slurps. that's the whole name. iconic, no notes π
π¦ SYNOPSIS π¦
parallel-slurp [-vAr] [-h hosts_file] [-H [user@]host[:port]] [-l user]
[-p par] [-o outdir] [-e errdir] [-t timeout] [-O options] [-x args] [-X
arg] [-L localdir] remote local
that's the whole vibe up there β¬οΈ like, that's the shape of it. keep reading, it gets so good π
πΈ DESCRIPTION πΈ
so parallel-slurp is literally a program for copying files in parallel from a whole bunch of hosts, and she does it using the scp program. main character energy fr fr β¨
and the features?? she provides things like passing a password to scp, saving output to files, and timing out. like she's not just doing one thing, she's doing the most π
π OPTIONS π
-h host_file,--hosts host_fileβ read hosts from the given host_file. lines in the host file are of the form[user@]host[:port]and they can totally include blank lines and comments (which are lines beginning with#). and if you give her multiple host files (aka you use the-hoption more than once) thenparallel-slurpbehaves as though those files were all concatenated together. and if a host is specified multiple times?? she will literally connect the given number of times. she does not dedupe. she does not judge. π-H[user@]host[:port],--host[user@]host[:port],-H"[user@]host[:port] [ [user@]host[:port ] ... ]",--host"[user@]host[:port] [ [user@]host[:port ] ... ]"β add the given host strings to the list of hosts. this option may be given multiple times, and it may also be used in conjunction with the-hoption. they're besties, they work together π«Ά-l user,--user userβ use the given username as the default for any host entries that don't specifically specify a user. the fallback girlie π-p parallelism,--par parallelismβ use the given number as the maximum number of concurrent connections. she has limits. healthy boundaries. π-t timeout,--timeout timeoutβ make connections time out after the given number of seconds. and with a value of0,parallel-slurpwill not timeout any connections β she'll wait forever, she's loyal like that π-o outdir,--outdir outdirβ save standard output to files in the given directory. filenames are of the form[user@]host[:port][.num]where the user and port are only included for hosts that explicitly specify them. and the number is a counter that is incremented each time for hosts that are specified more than once. so yes, repeat hosts get numbered, slay π-e errdir,--errdir errdirβ save standard error to files in the given directory. filenames are of the same form as with the-ooption. same energy, different stream β¨-x args,--extra-args argsβ passes extra SSH command-line arguments (peep thessh(1)man page for more info about SSH arguments). this option may be specified multiple times. and get this β the arguments are processed to split on whitespace, protect text within quotes, and escape with backslashes. if you wanna pass arguments without that processing, use the-Xoption instead. she's doing β¨parsingβ¨ okay π-X arg,--extra-arg argβ passes a single SSH command-line argument (again,ssh(1)man page for the SSH argument lore). unlike the-xoption, no processing is performed on the argument, including word splitting. to pass multiple command-line arguments, use the option once for each argument. one arg, one flag, no games π-O options,--options optionsβ SSH options in the format used in the SSH configuration file (thessh_config(5)man page has more on this). this option may be specified multiple times. π-A,--askpassβ prompt for a password and pass it to ssh. the password may be used for either to unlock a key or for password authentication. the password is transferred in a fairly secure manner (e.g., it will not show up in argument lists). however β be aware that a root user on your system could potentially intercept the password. π so like, not the vibe for sketchy shared boxes, ok bestie?-v,--verboseβ include error messages from ssh with the-iand-eoptions. she gets chatty. we love a girl who overshares π£οΈ-r,--recursiveβ recursively copy directories. go deep, girl π-L localdir,--localdir localdirβ copy files from the remote host to the given local directory. π
π TIPS π
the ssh_config file can include an arbitrary number of Host sections. each host entry specifies ssh options which apply only to the given host. and host definitions can even behave like aliases if the HostName option is included. this ssh feature, in combination with parallel-ssh host files, provides a tremendous amount of flexibility. like the way that these two things combine?? it's giving unlimited power, fr fr π₯
β EXIT STATUS β
the exit status codes from parallel-slurp are as follows β memorize these, they're the group chat receipts:
0β success π1β miscellaneous error π«2β syntax or usage error π3β at least one process was killed by a signal or timed out. π4β all processes completed, but at least onescpprocess reported an error (exit status other than0). π
π AUTHORS π
written by Brent N. Chun <bnc@theether.org> and Andrew McNabb <amcnabb@mcnabbs.org>. absolute legends, we stan π«Ά
https://github.com/lilydjwg/parallel-ssh
π SEE ALSO π
ssh(1), ssh_config(5), parallel-ssh(1), parallel-scp(1), parallel-rsync(1), parallel-nuke(1), β the whole friend group, go read them all, iykyk π
okay that's the whole page bestie, you're so welcome π this one's dated January 24, 2012, and yeah, it's the parallel-slurp(1) page, she's been serving since 2012 and she's still eating. periodt. β¨π¦π
π¦ where this page comes from
- debian bookworm: pssh 2.3.4-2 Β· BSD-3-Clause
- debian trixie: pssh 2.3.5-2 Β· BSD-3-Clause
- ubuntu jammy: pssh 2.3.4-2 Β· BSD-3-Clause
- ubuntu noble: pssh 2.3.5-2 Β· BSD-3-Clause
- ubuntu questing: pssh 2.3.5-2
- ubuntu resolute: pssh 2.3.6-1 Β· BSD-3-Clause
- ubuntu stonking: pssh 2.3.6-1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms