gayming/playstation2/CHT: add install-cht.bash

Resolves: #55
This commit is contained in:
Aminda Suomalainen 2023-03-23 15:45:43 +02:00
parent 9af4604534
commit 48b0722023
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q

View File

@ -0,0 +1,13 @@
#!/usr/bin/env bash
set -x
CHTDIR=~/PS2/CHT
mkdir -p $CHTDIR
for chtfile in *.cht; do
cat $chtfile > $CHTDIR/$chtfile
done
chmod -R 777 $CHTDIR
set +x