https://github.com/johnchourajr/font-file-separatornator
The Font File Separatornator is a shell script that organizes your font files into separate directories based on their file type (.ttf, .woff2, .otf).
https://github.com/johnchourajr/font-file-separatornator
fonts otf script shell-script ttf woff woff2
Last synced: 3 days ago
JSON representation
The Font File Separatornator is a shell script that organizes your font files into separate directories based on their file type (.ttf, .woff2, .otf).
- Host: GitHub
- URL: https://github.com/johnchourajr/font-file-separatornator
- Owner: johnchourajr
- License: mit
- Created: 2024-05-25T18:04:57.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-05-25T20:50:52.000Z (about 1 year ago)
- Last Synced: 2025-07-07T02:58:48.273Z (8 days ago)
- Topics: fonts, otf, script, shell-script, ttf, woff, woff2
- Language: Shell
- Homepage: https://john.design/journal/font-file-separatornator
- Size: 13.7 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

# Font File Separatornator
> Have you ever downloaded a new font family or trial font bundle and been like, “ugh, just give me the TTF files from these font folders”? Well today is your lucky day. Meet Font_File_Separatornator.sh, the shell script for all your font separating needs.
The Font File Separatornator is a shell script that organizes your font files into separate directories based on their file type (.ttf, .woff2, .otf).
## Usage
### 1. Download the shell script
Clone the repo `git clone https://github.com/johnchourajr/font-file-separatornator.git` or [download](https://github.com/johnchourajr/font-file-separatornator/archive/refs/heads/main.zip).
### 2. Place the .sh file in your directory of choice

### 3. Open a terminal at the containing folder

### 4. Run a few commands

First, give the shell script permission to run:
```bash
chmod +x Font_File_Separatornator.sh
```Then, run the shell script:
```bash
./Font_File_Separatornator.sh
```### 5. Enjoy some separated fonts
Do as you please with those separated files 🙏
Also, you can keep running this over and over and it’ll keep refreshing those same “All X” file directories without making duplicates. Magic.
## File Types Supported
Separates all .woff, .ttf, and .otf files into separate folders for all fonts within a file directory 😮 🤯## Directories
Source Directory: The current directory where the script is run.
Destination Directories: Created as siblings to the source directory:
all TTFs: Contains all .ttf files.
all WOFF2s: Contains all .woff2 files.
all OTFs: Contains all .otf files.## License
This project is licensed under the MIT License - see the [LICENSE](https://github.com/johnchourajr/font-file-separatornator/blob/main/LICENSE) file for details.