mirror of
https://github.com/Feliix42/dotfiles.git
synced 2024-11-23 06:26:30 +00:00
10 lines
392 B
Bash
Executable file
10 lines
392 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
find ~/github/macos-terminal-themes/schemes/ -name "*.terminal" -print0 | while read -d $'\0' -r file; do
|
|
filename=`basename "$file"`
|
|
without_ext=${filename%.*}
|
|
removed_spaces=${without_ext// /_}
|
|
# output_filename=`echo ${removed_spaces} | tr '[:upper:]' '[:lower:]'`
|
|
echo ${removed_spaces}.conf
|
|
./convert_conf.swift "$file" > ./themes/${removed_spaces}.conf
|
|
done
|