Skip to content

Add --dry-run mode to preview file movements without actually changing anything #2

@theProject

Description

@theProject

💡 Feature Request

It would be helpful to add a --dry-run flag to the PySorta script that simulates the organization process without actually moving files.


✅ Why this is useful

  • Users could preview how files would be sorted
  • Reduces fear of messing up important folders
  • Useful for debugging and transparency

🛠 Suggested Implementation

When --dry-run is passed via CLI:

  • Print the source and intended destination for each file
  • Don’t call shutil.move() — just log the plan
  • Example output:

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions