1
0
mirror of https://github.com/fumiama/RVC-Models-Downloader.git synced 2024-11-17 13:47:11 +09:00
RVC-Models-Downloader/pckcfg.sh

11 lines
223 B
Bash
Raw Normal View History

2024-04-18 02:01:03 +09:00
#!/bin/bash
2024-04-18 01:52:23 +09:00
# Should be run by go generate. DO NOT run it directly.
2024-04-18 01:59:11 +09:00
files=()
while IFS= read -r line; do
files+=("$line")
done <<< "$(find "$@" | grep -v .DS_Store | sort)"
2024-04-18 01:52:23 +09:00
rm -rf cfg.zip
zip -9 cfg.zip "${files[@]}"