Opened 2 years ago

Closed 2 years ago

Last modified 2 years 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, 2 years ago

Description: modified (diff)

comment:2 by korli, 2 years 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, 2 years ago

Resolution: invalid
Status: newclosed

Any issues with ported software belong at HaikuPorts.

comment:4 by lelldorin, 2 years 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, 2 years ago

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

Note: See TracTickets for help on using tickets.