diff --git a/README.md b/README.md index fef0040..f9bff20 100644 --- a/README.md +++ b/README.md @@ -99,27 +99,41 @@ Example of usage: ## Usage Examples: Here are some common ways to use PVE Kernel Cleaner: -**Remove Old Kernels Non-Interactively:** +* **Remove Old Kernels Non-Interactively:** ```bash pvekclean -f ``` -**Set Number of Kernels to Keep:** + This command removes old PVE kernels without requiring user confirmation. + +* **Set Number of Kernels to Keep:** ```bash pvekclean -k 3 ``` -**Force Remove Old Kernels While Keeping a Certain Number:** +This command specifies the number of most recent PVE kernels to keep on the system. + +* **Force Remove Old Kernels While Keeping a Certain Number:** ```bash pvekclean -f -k 3 ``` -**Remove Newer Kernels and Keep a Specific Number:** +This command forces the removal of old PVE kernels while retaining a specific number of the most recent ones. + +* **Remove Newer Kernels and Keep a Specific Number:** ```bash pvekclean -rn -k 2 ``` -**Perform a Dry Run without Making Changes:** +This command removes newer PVE kernels and keeps a specified number of the most recent ones. + +* **Schedule Regular Kernel Removal:** +```bash +pvekclean -s +``` +This command sets up PVE Kernel Cleaner to remove old PVE kernels on a scheduled basis. You can configure the schedule according to your needs. + +* **Perform a Dry Run without Making Changes:** ```bash pvekclean -d ``` -This command runs PVE Kernel Cleaner in dry run mode, simulating actions without actually removing any kernels or making changes to your system. It's useful for testing and understanding what the script would do. +This command runs PVE Kernel Cleaner in dry run mode, simulating actions without actually removing any kernels or making changes to your system. It's useful for testing and understanding what the script would do. ## Developers