Amiga.org

Amiga computer related discussion => Amiga Software Issues and Discussion => Topic started by: orange on March 17, 2011, 06:04:30 PM

Title: convert .lha to .lha
Post by: orange on March 17, 2011, 06:04:30 PM
I want to convert many .lha  archives to "uncompressed" .lha
so that files are just stored ( -z)

what would be simplest way to do that?
I need to keep all information, like archive comment, file protect flags and so on.
Title: Re: convert .lha to .lha
Post by: chris on March 17, 2011, 06:07:37 PM
Quote from: orange;622524
I want to convert many .lha  archives to "uncompressed" .lha
so that files are just stored ( -z)

what would be simplest way to do that?
I need to keep all information, like archive comment, file protect flags and so on.


lha -r x
lha -azr a #?

I've probably missed some switches.
Title: Re: convert .lha to .lha
Post by: orange on March 17, 2011, 07:17:27 PM
Quote from: chris;622526
lha -r x
lha -azr a #?

I've probably missed some switches.


hm, thanks. but I need to do that for over 500 .lha archives.
how to do it in 'for loop'? filename should stay the same
Title: Re: convert .lha to .lha
Post by: chris on March 17, 2011, 09:07:13 PM
Quote from: orange;622548
hm, thanks. but I need to do that for over 500 .lha archives.
how to do it in 'for loop'? filename should stay the same


I think LhA has a list feature... if not, try "spat".