[Arcana] A random emacs question

Jim Blandy jimb at red-bean.com
Fri May 9 13:29:15 CDT 2008


I found this script helpful:

#!/usr/bin/env bash
# Like find, but automatically ignore Subversion metadata.

# Skip initial path arguments, so we can insert our magic at the start
# of the options.
paths=()
while case "${1--}" in (-* | !) false;; (*) true;; esac do
    paths=("${paths[@]}" "$1")
    shift
done
exec find "${paths[@]}" -name .svn -prune -false -o "${@--true}"




More information about the Arcana mailing list