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

Cyclic renaming #17

Open
neurobin opened this issue May 22, 2017 · 0 comments
Open

Cyclic renaming #17

neurobin opened this issue May 22, 2017 · 0 comments

Comments

@neurobin
Copy link
Owner

neurobin commented May 22, 2017

rnm should (and will in some future release) support cyclic renaming.

A rudimentary algorithm:

  1. Detect if cyclic renaming is applicable when a rename fails (if target exists in the queue).
  2. If cyclic rename is possible, save the file and the target name to different queue vectors skipping it in the main queue, otherwise skip normally (with warning).
  3. Process the cyclic queue vectors separately after the main queue finishes (thus the cyclic vectors will be complete) and log every rename steps in undo files sequentially (otherwise undo won't work).
@neurobin neurobin added this to the Version 4.1.0 milestone May 22, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant