Amiga.org

Amiga computer related discussion => Amiga Software Issues and Discussion => Topic started by: Gulliver on February 07, 2011, 10:49:44 PM

Title: How to instruct lha to overwrite all files?
Post by: Gulliver on February 07, 2011, 10:49:44 PM
Hi, I am having a very small issue with an installer script. The thing is that I want lha to extract a compressed file and overwrite all destination files.

So does anyone know the proper lha switch/option so that the user doesnt need to input it by itself (A, for overwrite all)?

Example:

lha e archive.lha
Extracting: (  0/   2345) T:test.c
´T:test.c´ already exists, overwrite Y/N/A/S/Q

; I want to have automatically selected the A option here

Thanks in advance
Title: Re: How to instruct lha to overwrite all files?
Post by: Gulliver on February 08, 2011, 05:16:47 AM
I already found out how by myself, I am posting this in case someone in the future looks for this kind of answer:

lha -m1 e archive.lha
Title: Re: How to instruct lha to overwrite all files?
Post by: Prosonic on June 17, 2021, 12:46:59 AM
thank you was looking for this to add to dopus lha button
Title: Re: How to instruct lha to overwrite all files?
Post by: kolla on June 17, 2021, 03:40:25 AM
Hi, I am having a very small issue with an installer script. The thing is that I want lha to extract a compressed file and overwrite all destination files.

Yikes?