10 lines
156 B
Bash
Executable File
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
|