Personal collection of bash automation scripts and utilities.
scripts/
├── cloud/gdrive-ingest/ Google Drive uploader with interactive UI
├── system/ System utilities
├── templates/ Script templates
└── README.md
GDrive Ingest - Interactive Google Drive uploader with arrow-key navigation, live progress tracking, smart music organization, and Telegram support.
cd cloud/gdrive-ingest
./gdrive_ingest.sh https://example.com/file.mp3- Include
#!/bin/bashshebang - Add
--helpflag - Use color-coded output
- Error handling with
set -eo pipefail - Make executable:
chmod +x script.sh
- Group by category (cloud/, system/, etc.)
- Keep related files together
- Document in README files
#!/bin/bash
# script-name.sh - Brief description
# Usage: ./script-name.sh [OPTIONS]
set -eo pipefail
# Colors
RED='\033[0;31m'
GREEN='\033[0;32m'
NC='\033[0m'
# Your code here# Create new script
touch my-script.sh
chmod +x my-script.sh
# Test syntax
bash -n my-script.sh
# Run with debug
./my-script.sh --debug