Opened 12 months ago

Closed 12 months ago

Last modified 8 months ago

#17605 closed bug (invalid)

unzip creates new folder instead of overwriting files with unzip -o

Reported by: lelldorin Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: - General Version: R1/beta3
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description (last modified by lelldorin)

I use sience many years the unzip -o option to unzip update files in my projects. Normaly it overwrite exisitng files, but today it does not override, it create a new folder with a 2 behind.

Example:

/boot/home/.besly/BeSlySAT is the update folder /boot/home/.besly/BeSlySAT2 is i unzip -o a zip file to boot/

How to solve this? -o is for overwriting. Any changes done in the past?

hrev= 55181

Change History (5)

comment:1 by lelldorin, 12 months ago

Description: modified (diff)

comment:2 by korli, 12 months ago

unzip is at haikuports: https://github.com/haikuports/haikuports/tree/master/app-arch/unzip

I don't think unzip would create a "2" folder. You can attach the output of strace + unzip command.

comment:3 by waddlesplash, 12 months ago

Resolution: invalid
Status: newclosed

Any issues with ported software belong at HaikuPorts.

comment:4 by lelldorin, 8 months ago

Ok if this bug is invalid, i need to use a older version of zip, i hope this will work.

comment:5 by waddlesplash, 8 months ago

It is invalid to report it here. Report it at HaikuPorts instead.

Note: See TracTickets for help on using tickets.