Skip to content

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

Open
SantanDon wants to merge 2 commits intogeekcomputers:masterfrom
SantanDon:improve-batch-rename
Open

Modernize batch_file_rename with pathlib and add dry-run feature#3174
SantanDon wants to merge 2 commits intogeekcomputers: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.

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.

1 participant