mirror of
https://gitea.blesmrt.net/mikaela/gist.git
synced 2024-11-25 04:39:24 +01:00
14 lines
159 B
Bash
14 lines
159 B
Bash
|
#!/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
|