File: find-specious

package info (click to toggle)
mirrorrib 0.14.4.2
  • links: PTS
  • area: main
  • in suites: experimental
  • size: 372 kB
  • sloc: sh: 1,613; makefile: 59
file content (12 lines) | stat: -rwxr-xr-x 503 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash -efu
# List files, et al., that should probably be deleted
# before the software is packaged.
readonly TOP_DIR="$(realpath -e -- "$(dirname -- "$(realpath -e -- "$0")")/../..")"
readonly PA1='-mindepth 1 '"'('"' '
readonly PA2='-name '"'"'.*'"'"' '
readonly PA3='-o -name '"'"'*~'"'"' '
readonly PA4='-o -name '"'"'*.bak'"'"
readonly PA5=' '"')'"' -printf '"'"'%P\n'"'"
readonly POSTARGS="$PA1$PA2$PA3$PA4$PA5"
"$TOP_DIR/usr/share/mirrorrib/utilities/findx" '' "$POSTARGS" "$TOP_DIR"
exit 0