How akii90/scripts works
Project type and purpose
• This is a small “utility script” repository: a collection of standalone shell scripts with a shared library of common functions.
• Each script automates a specific operational task (e.g., container lookup, setting a Postgres user to read-only, uploading to MinIO).
File structure
• Top level:
• README.md – describes the repo
• general_functions.sh – shared helper functions
• search-container-with-pid.sh – finds running Docker containers by PID
• set_pg_readonly_user.sh – toggles a Postgres user to read-only
• upload_file_to_muti_minio.sh – uploads a file to multiple MinIO buckets
• No deeper directories—each script lives side-by-side and sources general_functions.sh.
README for additional insights
• README is minimal: “Common shell scripts.”
Detail without over-splitting
• Script as a separate component.
• Exactly which external system it talks to.
• Shared library as the single code-reuse point.