4cade/bin/buildfileinfo.sh

12 lines
236 B
Bash
Raw Normal View History

2019-09-21 00:47:35 +00:00
#!/bin/sh
indir=$1
intype=$2
inaddress=$3
cd "$indir"
2020-03-13 00:56:36 +00:00
rm -f _FileInformation.txt
2020-03-30 19:35:23 +00:00
(echo "# This file is automatically generated\n"
for f in *; do
2019-09-21 00:47:35 +00:00
echo "$f=Type($intype),AuxType($inaddress),Access(C3)"
2020-03-13 00:56:36 +00:00
done) > _FileInformation.txt