Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 19 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 (7 months ago)
- Default Branch: main
- Last Pushed: 2024-05-25T20:50:52.000Z (7 months ago)
- Last Synced: 2024-12-09T04:36:06.255Z (25 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
![git-cover](https://github.com/johnchourajr/font-file-separatornator/assets/6431920/b22f878d-539e-49aa-92d1-d24c10d32ac0)
# 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
![movesh](https://github.com/johnchourajr/font-file-separatornator/assets/6431920/aee9743e-11d1-49d1-97b5-c612b781d491)
### 3. Open a terminal at the containing folder
![openterminal](https://github.com/johnchourajr/font-file-separatornator/assets/6431920/eeee5d3c-e25a-46ae-979a-e6e63b843604)
### 4. Run a few commands
![runsh](https://github.com/johnchourajr/font-file-separatornator/assets/6431920/2c01652c-081e-4df0-bbe9-f6ab65c5dc79)
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.