mjestecko/cook_tracks.sh
2023-05-25 11:14:13 +05:00

10 lines
152 B
Bash
Executable File

#!/usr/bin/bash
set +e
shopt -s extglob
for f in $1/!(*AutoSave*).xm
do
gzip -c $f | base64 --wrap=0 - | tr -d '\n' > $2/$(basename -- $f).txt
done