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

Subsequent filenames rename fault #16

Closed
ul opened this issue Mar 27, 2014 · 2 comments
Closed

Subsequent filenames rename fault #16

ul opened this issue Mar 27, 2014 · 2 comments
Labels

Comments

@ul
Copy link

ul commented Mar 27, 2014

First of all, thank you for the great tool!

I've encountered undesirable behaviour:

(input)

$ ls
00.jpg  03.jpg  06.jpg  09.jpg  12.jpg  15.jpg  18.jpg  21.jpg  24.jpg  27.jpg  30.jpg  33.jpg  36.jpg  39.jpg
01.jpg  04.jpg  07.jpg  10.jpg  13.jpg  16.jpg  19.jpg  22.jpg  25.jpg  28.jpg  31.jpg  34.jpg  37.jpg
02.jpg  05.jpg  08.jpg  11.jpg  14.jpg  17.jpg  20.jpg  23.jpg  26.jpg  29.jpg  32.jpg  35.jpg  38.jpg

(then I do)

$ massren
...
// I want to shift numbering to start it from 01
01.jpg
02.jpg
...
40.jpg

(and get)

$ ls
40.jpg
@laurent22 laurent22 added the bug label Mar 27, 2014
@laurent22
Copy link
Owner

Oh right, I hadn't thought of that, thanks for the feedback. The tool should indeed make sure that each rename operation doesn't overwrite any existing flle. Probably the operations should be sorted in such a way that it doesn't happen (like in this case, renaming from the last file to the first would work).

@laurent22
Copy link
Owner

That should be fixed in c281cdb (v1.3.0)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants