From e1194a4877ee1b7edeb351cfc6da740a6298dcc7 Mon Sep 17 00:00:00 2001 From: Matt Troutman Date: Fri, 27 Sep 2024 11:48:16 -0500 Subject: [PATCH] account for TTC files. --- prep 1 font.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/prep 1 font.sh b/prep 1 font.sh index 1d675d9..cc6776e 100755 --- a/prep 1 font.sh +++ b/prep 1 font.sh @@ -32,9 +32,13 @@ find . -name '*.zip' -type f -delete # Recurse through all folders and subfolders and move all .ttf files into the TTF folder find . -name '*.ttf' -type f -exec mv {} TTF \; +# Recurse through all folders and subfolders and move all .ttc files into the TTF folder +find . -name '*.ttc' -type f -exec mv {} TTF \; # Recurse through all folders and subfolders and move all .otf files into the OTF folder find . -name '*.otf' -type f -exec mv {} OTF \; + + # Recurse through all folders and subfolders and delete all empty folders find . -type d -empty -delete touch .setup_complete \ No newline at end of file