10 February 2022, 10:05 | #1 |
Bug hunter
Join Date: Jul 2006
Location: Italy
Age: 48
Posts: 2,161
|
lha template to freeze file into a specific dir?
Is there a way to instruct lha to archive a file into a specific path of the archive?
I mean something like: lha a archive.lha thisfile intothispath E.g. freeze thisfile -> archive.lha's subdir A/thisfile.... |
10 February 2022, 11:47 | #2 |
Registered User
Join Date: Oct 2009
Location: Germany
Posts: 3,304
|
I'm using ArcDir.dopus5 ( http://aminet.net/package/util/dopus/ArcDir ) for DOpus5. I only found one line starting with "LHA a" that should do the trick. You may have a look.
|
10 February 2022, 13:07 | #3 |
Registered User
Join Date: Feb 2008
Location: RNO
Posts: 1,007
|
Unfortunately LhA doesn't have that kind of option. What I did with RNOArchive, and what DOpus' ArcDir also does, is to create a temporary directory structure somewhere and archive that recursively.
|
10 February 2022, 14:35 | #4 |
Registered User
Join Date: Jan 2021
Location: Darksideofthemoon
Posts: 69
|
the most simple solution i can think of is:
create same path on ramdisk or virtual disk. copy or move the file over. e.g. file in question is "mylast.log" on drive "dh0:" target location is "backup/logs/" in "mybackup.lha" on drive "dh1:" Code:
makedir ram:backup makedir ram:backup/logs copy dh0:mylast.log ram:backup/logs/ lha -x a dh1:mybackup.lha ram:backup/logs/mylast.log Last edited by freakofnature; 10 February 2022 at 14:41. Reason: p.s. tested and confirmed |
10 February 2022, 15:50 | #5 |
Bug hunter
Join Date: Jul 2006
Location: Italy
Age: 48
Posts: 2,161
|
yep... I know the trick to create first the directory structure in RAM:
Ok thanks, at least now I'm sure |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem overriding base-dir via ~/Library/Preferences/fs-uae/base-dir on macOS | -fun- | support.FS-UAE | 7 | 18 November 2021 07:24 |
Trying to archive an lha file inside a new lha file | Foebane | support.Apps | 6 | 11 December 2019 21:08 |
LHA - Splitting a large file into 2 archives | DamienD | support.Other | 18 | 31 January 2017 09:54 |
No installer for MagicWB21p.lha (file from FAQ) | Snowwie | support.Apps | 4 | 17 March 2012 14:12 |
Req: File CYC-V13.LHA on old Paradise Dream BBS | Gringo | request.Apps | 17 | 25 April 2010 21:11 |
|
|