Initial framework commit
This commit is contained in:
commit
72d218235f
14 changed files with 2403 additions and 0 deletions
17
bin/rcd-samples-per-task
Executable file
17
bin/rcd-samples-per-task
Executable file
|
|
@ -0,0 +1,17 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
set -e -u -o pipefail
|
||||
|
||||
root=$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd -P)
|
||||
|
||||
cd "$root"
|
||||
|
||||
total=0
|
||||
|
||||
for task in Task/*; do
|
||||
count=$(find "$task" -type f -not -name '00-*' | wc -l)
|
||||
printf '%06d %s\n' "$count" "${task#Task/}"
|
||||
total=$((total+count))
|
||||
done
|
||||
|
||||
printf '%06d %s\n' "$total" Total
|
||||
Loading…
Add table
Add a link
Reference in a new issue