Created
August 4, 2019 07:51
-
-
Save hgwr/41efb4feceb4cc1b0fb1c075e3c0a43a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -o errexit | |
set -o pipefail | |
set -o nounset | |
trap 'echo "Ctrl-C captured and exit."; exit 1' INT | |
find . -type d \( -not -path '.' -not -path '*outdir' \) -print0 | \ | |
while read -d $'\0' line; do | |
(cd "$line"; pwd; ~/bin/lightweighter.sh) | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment