root/mappings/review @ 785
1 | 220 | aaronmk | #!/bin/bash
|
---|---|---|---|
2 | 123 | aaronmk | # Converts all *.csv to human-readable (but machine unusable) form in for_review
|
3 | |||
4 | selfDir="$(dirname -- "$0")" |
||
5 | cd "$selfDir" |
||
6 | |||
7 | 220 | aaronmk | shopt -s nullglob |
8 | |||
9 | 199 | aaronmk | mkdir -p for_review |
10 | |||
11 | 748 | aaronmk | for in in *.{specimens,organisms,plots}.csv; do |
12 | 274 | aaronmk | ../bin/review <"$in" >"for_review/$in" |
13 | 123 | aaronmk | done
|