2025-09-27 18:42:00 +02:00
2025-09-27 18:39:09 +02:00
2025-09-27 18:39:33 +02:00
2025-09-27 18:42:00 +02:00
2025-09-27 18:37:08 +02:00

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

  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

# 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.

Description
No description provided
Readme GPL-3.0 60 KiB
Languages
Shell 100%