generate_conf.sh 392 B

1234567891011
  1. #!/usr/bin/env bash
  2. find ~/github/macos-terminal-themes/schemes/ -name "*.terminal" -print0 | while read -d $'\0' -r file; do
  3. filename=`basename "$file"`
  4. without_ext=${filename%.*}
  5. removed_spaces=${without_ext// /_}
  6. # output_filename=`echo ${removed_spaces} | tr '[:upper:]' '[:lower:]'`
  7. echo ${removed_spaces}.conf
  8. ./convert_conf.swift "$file" > ./themes/${removed_spaces}.conf
  9. done