[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

4105.0. "Archiving a directory tree" by WELSWS::FINNIS () Tue Sep 11 1990 22:28

    
    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.RTitleUserPersonal
Name
DateLines
4105.1MSVAX::BARRETTI must not waste diskspaceWed Sep 12 1990 13:5329
    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.2Ok !!WELSWS::FINNISWed Sep 12 1990 23:4918
    
    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 -