find . -name '.git' | xargs dirname | xargs -P 4 -n 1 -I % ./backup-stashes.sh % /tmp/stash-backups
Much of the code is generated by Claude Sonnet 3.5. Exercise caution by going through it before executing.
#!/usr/bin/env bash | |
## Script for searching for all references to a particular function in | |
## a clojure project (A crude implementation of "Find usage" | |
## functionality commonly found in IDEs such as Intellij) False | |
## positives are possible. | |
## | |
## Usage: | |
## | |
## $ clj-fn-usages NAMESPACE_QUALIFIED_FN [ paths ... ] |