Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
#!/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
You can’t perform that action at this time.