Replace file via rename function inside ZIP archive

Please report only one bug per message!

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
MaxX
Power Member
Power Member
Posts: 1017
Joined: 2012-03-23, 18:15 UTC
Location: UA

Replace file via rename function inside ZIP archive

Post by *MaxX »

Actions have been done:
1. Pack some files into ZIP, e.g. 1.jpeg and 2.jpeg
2. Update ZIP - add 3.jpeg
3. Rename 3.jpeg to 1.jpeg
4. Get an error mesage and nothing done.

Expected:
4. Replace original 1.jpeg with newer 3.jpeg and get new ZIP 1.jpeg (new) and 2.jpeg inside, older 1.jpeg has been deleted.

Also.
This can be easely done in real folders (not inside ZIP). Rename functions replaces older file.

Just one of the cases IRL
I have lot's of .docx and .xlsx files with old image1.jpeg inside. For some reasons I have to replace them with newer files. Now I can't do my habitual movements.

Please, make this work inside ZIP too.
Ukrainian Total Commander Translator. Feedback and discuss.
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6429
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: Replace file via rename function inside ZIP archive

Post by *Horst.Epp »

I have no problem with your steps 1 - 3 inside of a Zip file
and also no problem doing that inside of a docx file.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3296)
TC 11.03 x64 / x86
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69
QAP 11.6.3.2 x64
User avatar
MaxX
Power Member
Power Member
Posts: 1017
Joined: 2012-03-23, 18:15 UTC
Location: UA

Re: Replace file via rename function inside ZIP archive

Post by *MaxX »

Do you rename 3.jpeg INSIDE the ZIP file into existing file name?

Screenshot:
https://jpegshare.net/images/10/f6/10f6f9458f148b641c0a40709edb3afb.png
Ukrainian Total Commander Translator. Feedback and discuss.
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6429
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: Replace file via rename function inside ZIP archive

Post by *Horst.Epp »

MaxX wrote: 2019-01-17, 13:48 UTC Do you rename 3.jpeg INSIDE the ZIP file into existing file name?

Screenshot:
https://jpegshare.net/images/10/f6/10f6f9458f148b641c0a40709edb3afb.png
No, but why is this the problem ?
You can delete the other file before renaming.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3296)
TC 11.03 x64 / x86
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69
QAP 11.6.3.2 x64
User avatar
MaxX
Power Member
Power Member
Posts: 1017
Joined: 2012-03-23, 18:15 UTC
Location: UA

Re: Replace file via rename function inside ZIP archive

Post by *MaxX »

There's too much manual job and chances to make mistakes
Ukrainian Total Commander Translator. Feedback and discuss.
Post Reply