Skip to content

Create scripts/cleanup_temp.py automation script #8

@RickyDicaprio

Description

@RickyDicaprio

We need a script to automatically clean temporary files from specified directories to keep the system organized.

Tasks:
1. Create scripts/cleanup_temp.py
2. Support command-line arguments for target directories
3. Add logging for deleted files and errors
4. Add dry-run mode to preview files before deletion
5. Update docs/how_to_run_scripts.md with usage examples
6. Write basic unit tests in tests/test_cleanup_temp.py

Goal:
Provide a safe and reusable script for cleaning temporary files that contributors can expand upon.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions