From 7656375febb631cb08365490cbd3aee261ffec48 Mon Sep 17 00:00:00 2001 From: Blake Ridgway Date: Sun, 15 Jun 2025 13:05:33 -0500 Subject: [PATCH] docs: marked off two completed items --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6f36ec9..67a9fc4 100644 --- a/README.md +++ b/README.md @@ -10,9 +10,9 @@ - [x] Add `echo` statements to report what the script is doing. **Enhancements & Features:** -- [ ] **Argument Parsing:** Modify the script to accept the log file path as a command-line argument instead of being hardcoded. +- [x] **Argument Parsing:** Modify the script to accept the log file path as a command-line argument instead of being hardcoded. - [x] **Root Check:** Add a check at the beginning to ensure the script is run with `sudo` or as the root user. -- [ ] **Error Handling:** Use `set -e` to make the script exit immediately if a command fails. Add a check to ensure the provided log file actually exists. +- [x] **Error Handling:** Use `set -e` to make the script exit immediately if a command fails. Add a check to ensure the provided log file actually exists. - [ ] **Configuration File:** Move variables like `BACKUP_DIR` to an external `/etc/log-archiver.conf` file. - [ ] **Automated Cleanup:** Add a feature to automatically delete backups older than a specified number of days (e.g., 90 days).