{"id":28796168,"url":"https://github.com/bocaletto-luca/sys-report","last_synced_at":"2025-07-26T14:32:36.506Z","repository":{"id":298974316,"uuid":"1001019146","full_name":"bocaletto-luca/sys-report","owner":"bocaletto-luca","description":"sys-report Linux maintenance.sh is a zero-dependency Bash script that performs a full suite of system-maintenance tasks on Debian and its derivatives. All actions are logged to /var/log/maintenance-YYYYMMDD-HHMMSS.log. By Bocaletto Luca","archived":false,"fork":false,"pushed_at":"2025-06-13T22:10:31.000Z","size":30,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-13T23:19:40.866Z","etag":null,"topics":["bash","bash-script","bocaletto-luca","linux","opensource","script","sys-report"],"latest_commit_sha":null,"homepage":"https://bocaletto-luca.github.io/","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bocaletto-luca.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-12T17:22:43.000Z","updated_at":"2025-06-13T22:10:34.000Z","dependencies_parsed_at":"2025-06-13T23:29:46.918Z","dependency_job_id":null,"html_url":"https://github.com/bocaletto-luca/sys-report","commit_stats":null,"previous_names":["bocaletto-luca/sys-report"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bocaletto-luca/sys-report","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bocaletto-luca%2Fsys-report","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bocaletto-luca%2Fsys-report/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bocaletto-luca%2Fsys-report/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bocaletto-luca%2Fsys-report/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bocaletto-luca","download_url":"https://codeload.github.com/bocaletto-luca/sys-report/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bocaletto-luca%2Fsys-report/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260477932,"owners_count":23015066,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bash","bash-script","bocaletto-luca","linux","opensource","script","sys-report"],"created_at":"2025-06-18T03:11:26.319Z","updated_at":"2025-07-26T14:32:36.493Z","avatar_url":"https://github.com/bocaletto-luca.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# maintenance.sh\n#### Author: Bocaletto Luca\n\n\u003e **Comprehensive System Maintenance Tool for Debian \u0026 Ubuntu**\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/bocaletto-luca/maintenance.sh/blob/main/maintenance.sh\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/version-2.0-blue.svg\" alt=\"Version 2.0\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/bocaletto-luca/maintenance.sh/blob/main/LICENSE\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/license-MIT-green.svg\" alt=\"MIT License\" /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n---\n\n## 📋 Description\n\n`maintenance.sh` is a zero-dependency Bash script that performs a full suite of system-maintenance tasks on Debian and its derivatives.  \nAll actions are logged to `/var/log/maintenance-YYYYMMDD-HHMMSS.log`.  \n\n**Features**  \n- Refresh package lists (`--update`)  \n- Install available upgrades (`--upgrade`)  \n- Perform distribution upgrades (`--dist-upgrade` / `--full-upgrade`)  \n- Remove unused packages (`--autoremove`)  \n- Clean cached `.deb` files (`--autoclean`)  \n- Verify package integrity (`--check`)  \n- Report reboot requirement (`--reboot-check`)  \n- “All-in-one” mode (`--all`)  \n- Colorized output \u0026 timestamped logging  \n- Final reboot prompt if required  \n\n---\n\n## ⚙️ Prerequisites\n\n- Debian, Ubuntu, Mint or any APT-based distribution  \n- Bash (v4+)  \n- No external packages or libraries—uses only coreutils, `apt-get`, `tput`, `tee`, `curl`, `date`\n\n---\n\n## 🚀 Installation\n\n#### bash\n# Clone this repository\n    git clone https://github.com/bocaletto-luca/maintenance.sh.git\n    cd maintenance.sh\n\n# Make the script executable\n    chmod +x maintenance.sh\n\n# (Optional) Move to a system PATH location\n    sudo mv maintenance.sh /usr/local/bin/maintenance.sh\n\n## 🛠️ Usage\n\n#### Run the script with sudo and any combination of options:\n\n    sudo ./maintenance.sh [OPTIONS]\n\n## Example:\n\n    # Update package lists only\n    sudo ./maintenance.sh --update\n\n#### Full maintenance run\n    sudo ./maintenance.sh --all\n\n#### Custom sequence: update + autoremove\n    sudo ./maintenance.sh --update --autoremove\n\n## 📂 Log Files\n\n#### Logs are stored under:\n    /var/log/maintenance-YYYYMMDD-HHMMSS.log\n\n## Review or archive these files for auditing.\n\n## 👤 Author\n\n### Bocaletto Luca Full-Stack Developer \u0026 Linux Enthusiast\n\n## 📄 License\n\n#### This project is released under the GPL License. Fell free to use, modify, and distribute! \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbocaletto-luca%2Fsys-report","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbocaletto-luca%2Fsys-report","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbocaletto-luca%2Fsys-report/lists"}