-ce "Change extension" doesn't notify if can't accomplish

Started by handvprice, July 22, 2021, 04:21:34 PM

Previous topic - Next topic

handvprice

Bug: With the -ce switch ("change extension"), if a file already exists with the target name and extension, it still indicates "file renamed" in the command window, even though it hasn't made any change. So it leaves files with incorrect extensions in place. Is there another switch to deal with this case?

My current workaround is to -ae "add extension" to all the files, then clean up all the duplicated extensions, and appropriately fix the ones that were wrong.

(I'm actually usually using trid from a button within Directory Opus file manager, which works great, and really just opens a command window and passes all the highlighted files sequentially without reloading trid into memory for each file separately. But the problem exists even in a usual command prompt window anyway.)

Mark0

Hi!

Just did some tests, and I'm not seeing this. If a file already exist with the "new" name.ext, the new name is changed in name (1).ext, and so on.
This is with version 2.24/Win.

handvprice

You're so right, behavior is good now. (I was using 2.20). TY.

Fantastic program, and integration with Directory Opus is wonderful.

Mark0