parallel: add example (#12204)

pull/23/head
Fazle Arefin 2024-02-08 18:03:52 +11:00 committed by GitHub
parent 0d2a720eed
commit 9d79aff615
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 8 additions and 0 deletions

View File

@ -26,3 +26,11 @@
- Run on multiple machines via SSH:
`parallel -S {{machine1}},{{machine2}} {{command}} ::: {{arg1}} {{arg2}}`
- Download 4 files simultaneously from a text file containing links showing progress:
`parallel -j4 --bar --eta wget -q {} :::: {{path/to/links.txt}}`
- Print the jobs which `parallel` is running in `stderr`:
`parallel -t {{command}}`