OwnRM
Phase 1 - Basic file removal tool
Create a Python script that mimics the rm command to delete files from a specified directory.
- Input file or folder path
- Validate existence
- Delete file safely
Functional result: Script deletes specified files and handles errors correctly.
Phase 2 - Enhanced removal with options
Extend the script to support recursive deletion, dry-run mode, and logging of deleted files.
- Support folder recursion
- Implement dry-run to preview deletions
- Log removed files to a report
Functional result: Script can delete files/folders safely with previews and logs.