Commit 541e5e46 authored by Uwe Fladrich's avatar Uwe Fladrich

Add script to output count files per variable

parent 9db89efa
#!/usr/bin/env bash
version=$1
shift
for v in $@
do
echo -n "$v: "
dir=$(ls -d $v/g?/$version)
if [ -d $dir ]
then
ls -1 $v/g?/$version/*.nc | wc -l
else
echo "not found"
fi
done | column -t
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment