on what to do
- Run the download in parallel
| Ice cubes icons created by Freepik - Flaticon |
| #! /bin/bash | |
| find ~/git2 -name update-build-config.yml -exec sed -i '' 's/run: npm install --no-save --force yo/run: npm install --no-save --force yo@"4.x"/g' {} \; | |
| for repo in ~/git2/*; do | |
| cd $repo | |
| echo "Current directory is $repo" | |
| git pull | |
| git add .github/workflows/update-build-config.yml | |
| git checkout -b yo-downgrade |
| #!/bin/bash | |
| usage() { | |
| printf "Usage: $0 [options]\n | |
| -q\tQueue you want to send documents to. Default is a random queue listed in a printers.yml file | |
| -s\tServer hostname or IP address. Default is '127.0.0.1' | |
| -p\tPort. Default is '631' | |
| -n\tNumber of jobs. Default is '1' | |
| -r\tRest n seconds between jobs. Default is 'false' | |
| -f\tFile to print. Default is $0 |