Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recursion shoots in the leg #17

Open
diev opened this issue Feb 11, 2022 · 0 comments
Open

Recursion shoots in the leg #17

diev opened this issue Feb 11, 2022 · 0 comments

Comments

@diev
Copy link

diev commented Feb 11, 2022

Make a little test tree with a directory _1 and a subdirectory _2 inside that. Run RR recursively to rename chars in their names:

rename-regex\bin>md _1\_2
rename-regex\bin>rr * _ - /dirs /r /p
_1 -> -1 (pretend)
_1\_2 -> -2 (pretend)
rename-regex\bin>rr * _ - /dirs /r
_1 -> -1
_1\_2 -> -2
Could not rename _2

It is a wrong way to rename tree directories by a collected list when their paths are changed by previous lines!

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

No branches or pull requests

1 participant