Skip to content

Modernize batch_file_rename with pathlib and add dry-run feature#3174

Merged
geekcomputers merged 2 commits into
geekcomputers:masterfrom
SantanDon:improve-batch-rename
Jun 27, 2026
Merged

Modernize batch_file_rename with pathlib and add dry-run feature#3174
geekcomputers merged 2 commits into
geekcomputers:masterfrom
SantanDon:improve-batch-rename

Conversation

@SantanDon

Copy link
Copy Markdown

This PR refactors the �atch_file_rename.py script to use the modern pathlib library for more robust path handling. Additionally, it introduces a --dry-run flag to allow users to preview changes before they are applied, enhancing the utility's safety. It also adds basic conflict detection to prevent overwriting existing files.

@geekcomputers geekcomputers merged commit 8694291 into geekcomputers:master Jun 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants