Welcome, Guest. Please login or register.

Author Topic: How to instruct lha to overwrite all files?  (Read 2588 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline GulliverTopic starter

How to instruct lha to overwrite all files?
« 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
« Last Edit: February 07, 2011, 10:52:20 PM by Gulliver »
 

Offline GulliverTopic starter

Re: How to instruct lha to overwrite all files?
« Reply #1 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