blob: ca598ccf214b9477d85388dc4960472f7f04ad1b [file] [log] [blame]
Zane Shelleyba5dc162020-11-09 21:47:55 -06001#!/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 XML files in the given directory.
10for i in "$1"/*.xml; do
11 if [ -f "$i" ]; then
12 echo "$i"
13 fi
14done
15