mjestecko/cook_tracks.sh
2024-02-16 16:53:21 +05:00

10 lines
156 B
Bash
Executable File

#!/usr/bin/env 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