cull is a powerful and safe command-line tool designed to efficiently delete files and folders using glob patterns. It includes multiple safety mechanisms to prevent accidental data loss, such as dry-run mode, interactive confirmation, exclusion lists, and depth control. The tool offers comprehensive logging capabilities, allowing users to track all operations with timestamps. Key features include:
Pattern-Based Deletion: Delete files and folders using glob patterns.
Exclusion Lists: Protect important files/folders from deletion.
Depth Control: Limit search depth in directory structures.
Dry Run Mode: Preview deletions without making changes.
Interactive Mode: Confirm each deletion individually.
Comprehensive Logging: Track all operations with timestamps.
Multiple Output Formats: Plain text or JSON output.
This tool is ideal for developers and system administrators looking for a reliable and flexible solution to manage unwanted files and directories.
Built with