| 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 | 
    
    Can Lharc or Zoo archive a whole directory tree.
    
    If so how ?
    
    I've tried various combinations but to noavail... only copying files..
    
    I'm sure it must work because extractions definitely pass directories
    with x//...
    	......... So what is the syntax
    
    
    
    			-= Pete =-
| T.R | Title | User | Personal Name | Date | Lines | 
|---|---|---|---|---|---|
| 4105.1 | MSVAX::BARRETT | I must not waste diskspace | Wed Sep 12 1990 09:53 | 29 | |
|     Zoo in itself won't, but it will accept a redirected input. There
    is a program called MYDIR (I believe it's on a fred fish disk) that
    can be used to create such a file.
    
    Example:
    
    > CD THE_DIRECTORY
    > MYDIR >DIR_FILE.TXT
    > ZOO aI <DIR_FILE  (or some such similar nonsense)
    
    The instructions come with the MYDIR program.
    WARNING: If you make a mistake with MYDIR (improper wildcards,
    forgetting the arguments, etc), it almost always gurus the system.
    When properly run it works perfectly.
    
    
    In LHARC, I use the following command like to include "where I am
    and all subdirectories". Defining an alias makes it easier.
    
    LHARC -x -r -m -a a archive_name
    	(can't remember if a *.* or "#?" is needed for the filenames
    	parameter offhand).
    
    It's the -r that tells it to do the job.
    
    
    Keith
    
    
 | |||||
| 4105.2 | Ok !! | WELSWS::FINNIS | Wed Sep 12 1990 19:49 | 18 | |
|     
    Thanks I'll give it a try with lharc...
    
    I tried lharc -r -a  * archive..... Obviously I need the others as well
    
    Thanks
    
    
    
    Well thank heavens for Multitasking.. Just tried this..
    
    I succeeded with 
    			lharc -x -r -a a Archive_Name *
    
    
    			Thanks Again
    
    				- Pete -
 | |||||