[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference hydra::amiga_v1

Title:AMIGA NOTES
Notice:Join us in the *NEW* conference - HYDRA::AMIGA_V2
Moderator:HYDRA::MOORE
Created:Sat Apr 26 1986
Last Modified:Wed Feb 05 1992
Last Successful Update:Fri Jun 06 1997
Number of topics:5378
Total number of notes:38326

5362.0. "Wildcards required when un-archiving" by CHEFS::MANTEGNAR (Robert Mantegna 7 830 5668) Wed Jan 22 1992 09:26

    Dear Amigans,
    
    Can someone please share with me what the AMIGA DOS wildcard is for
    un-archiving files and during the process getting it to automatically
    create the required sub-directories on the destination device..
    
    eg. LHARC command source-file destination?????
    
    
    Documentation is damn expensive here !!
    
    regards
    
    Robert
T.RTitleUserPersonal
Name
DateLines
5362.1RTFM (free)CIMNET::KYZIVATPaul KyzivatWed Jan 22 1992 09:4829
>    Can someone please share with me what the AMIGA DOS wildcard is for
>    un-archiving files and during the process getting it to automatically
>    create the required sub-directories on the destination device..
>    
>    eg. LHARC command source-file destination?????
>    
>    
>    Documentation is damn expensive here !!

What you want is the .doc file for LHARC, which costs nothing!  Actually
this has nothing to do with AMIGA DOS - it is functionality specific to the
archive program you are using.

The command lines are somewhat different between the amiga and vax versions
of lharc which I have, but on the amiga I am quite sure what you want is
more or less the default:

	lharc x source			expands into current directory
	lharc x source device:		expands onto device
	lharc x source dir/		expands into specified directory

In all of these cases, if subdirectories are required, then you will be
asked if you want them created.  There are ways of suppressing the
question.

If you have lharc, you should have the .doc file which goes with it and
explains this.

	Paul
5362.2I hope this helps; WFM (works for me), etc.ULTRA::BURGESSMad Man across the waterWed Jan 22 1992 09:5645
re       <<< Note 5362.0 by CHEFS::MANTEGNAR "Robert Mantegna 7 830 5668" >>>
>                   -< Wildcards required when un-archiving >-

>    Dear Amigans,
    
>    Can someone please share with me what the AMIGA DOS wildcard is for
>    un-archiving files and during the process getting it to automatically
>    create the required sub-directories on the destination device..
    
>    eg. LHARC command source-file destination?????

	I think its  

		lharc -switches command archive destination    
   
	I don't remember what they all mean, but I think I use 

		lharc -x -a -r -m x ff587.lzh dk2:fish5xx/ff58x/
		      ----------- - --------- ------------------
			switches  ^  archive    destination
				  |
				  command

	the destination has to finish in a / or a :

	the destination shown is imaginary, its what I would do if I 
could collect all the 500 series fish disks and organize them into 
groups of ten, etc.


>    Documentation is damn expensive here !!

	errr, just type  

		lharc ?

	I know its cryptic, but it seems to be all there is.

>    regards
    
>    Robert


	Reg

5362.3XSNAKE::WILSONTLLead Trumpet (Read that...LEED!)Wed Jan 22 1992 22:404
    lharc -x x archive_file out_path  is what I normally use.  The "-x"
    recreates the original tree.  Use -m to keep it from asking you all the
    silly questions.  :-)