4sports/bin/buildfileinfo.sh

12 lines
236 B
Bash
Raw Normal View History

2021-02-16 06:01:22 +00:00
#!/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