4cade/bin/buildfileinfo.sh

11 lines
188 B
Bash
Raw Normal View History

2019-09-21 00:47:35 +00:00
#!/bin/sh
indir=$1
intype=$2
inaddress=$3
cd "$indir"
touch _FileInformation.txt
2019-09-21 00:47:35 +00:00
(for f in *; do
echo "$f=Type($intype),AuxType($inaddress),Access(C3)"
done) >> _FileInformation.txt