4cade/bin/buildfileinfo.sh
2020-03-30 15:35:23 -04:00

12 lines
236 B
Bash
Executable File

#!/bin/sh
indir=$1
intype=$2
inaddress=$3
cd "$indir"
rm -f _FileInformation.txt
(echo "# This file is automatically generated\n"
for f in *; do
echo "$f=Type($intype),AuxType($inaddress),Access(C3)"
done) > _FileInformation.txt