blob: e59b1276e7fc89ac7e14778a5c8404669dd33cfa [file] [log] [blame]
Zane Shelley2215d232023-04-07 14:43:40 -05001#!/bin/sh
2
3# Verify input.
4if [ ! -d "$1" ]; then
5 echo "Invalid directory: $1" 1>&2
6 exit 1
7fi
8
9# Simply list out all of the JSON files in the given directory.
10for i in "$1"/*.json; do
11 if [ -f "$i" ]; then
12 echo "$i"
13 fi
14done