# Bash Utility Scripts Collection of practical bash scripts for common file processing tasks. Each script supports both terminal and graphical (Nemo file manager) usage modes. ## Script Categories ### [๐Ÿงน Cleanup Tools](cleanup-tools/) Tools for system maintenance and file cleanup operations. - **remove-mac-files.sh** - Recursively remove macOS hidden files (.DS_Store, ._*) ### [๐Ÿ”ค Font Tools](font-tools/) Scripts for font processing and conversion. - **convert-ttf-in-woff2.sh** - Convert TTF fonts to WOFF2 format for web usage ### [๐Ÿ–ผ๏ธ Image Tools](image-tools/) Utilities for image optimization and processing. - **optimize-png.sh** - Minimize PNG images with color reduction - **optimize-jpg.sh** - Compress JPG/JPEG images with quality control ## โšก Quick Start ### For Nemo File Manager Users 1. Copy desired scripts to `~/.local/share/nemo/scripts/` 2. Make them executable with `chmod +x *.sh` 3. Select files in Nemo and run scripts from context menu ### For Terminal Users 1. Make scripts executable with `chmod +x *.sh` 2. Run with `./script-name.sh [options] files...` 3. Use `--help` flag for detailed usage information ## ๐Ÿ”ง Installation ```bash # Clone repository git clone https://git.marcocrippa.it/marco/bash-utility-scripts.git cd bash-utility-scripts # Make all scripts executable find . -name "*.sh" -exec chmod +x {} \; # Optional: Install for Nemo integration mkdir -p ~/.local/share/nemo/scripts cp *-tools/*.sh ~/.local/share/nemo/scripts/ ``` ## Documentation For detailed usage instructions, examples, requirements, and technical details, see the README file in each category: - [Cleanup Tools Documentation](cleanup-tools/README.md) - [Font Tools Documentation](font-tools/README.md) - [Image Tools Documentation](image-tools/README.md) ## ๐Ÿ“„ License This project is licensed under the GNU General Public License v3.0 - see the [LICENSE](LICENSE) file for details. **GPL v3 Summary:** You are free to use, modify, and distribute these scripts. Any derivative work must also be licensed under GPL v3 and include the source code.