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
Tools for system maintenance and file cleanup operations.
- remove-mac-files.sh - Recursively remove macOS hidden files (.DS_Store, ._*)
🔤 Font Tools
Scripts for font processing and conversion.
- convert-ttf-in-woff2.sh - Convert TTF fonts to WOFF2 format for web usage
🖼️ 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
- Copy desired scripts to
~/.local/share/nemo/scripts/
- Make them executable with
chmod +x *.sh
- Select files in Nemo and run scripts from context menu
For Terminal Users
- Make scripts executable with
chmod +x *.sh
- Run with
./script-name.sh [options] files...
- Use
--help
flag for detailed usage information
🔧 Installation
# 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:
📄 License
This project is licensed under the GNU General Public License v3.0 - see the 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.
Languages
Shell
100%