Created
August 24, 2023 16:32
-
-
Save Git-I985/9b86358f2525cc3d0a1113ca2b9ffc03 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
in="./e1" | |
out="./export" | |
rm -rf ${out} | |
mkdir -p ${out} | |
for file in ${in}/*; do | |
dirname=$(basename $file '.svg' | tr '+' '_'); | |
dest=$out/$dirname/default.svg | |
echo $dest | |
mkdir $(dirname $dest) | |
cp $file $dest | |
done | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment