Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!pyrdc!grebyn!macom1!larry From: larry@macom1.UUCP (Larry Taborek) Newsgroups: comp.unix.questions Subject: Re: tar help Message-ID: <4857@macom1.UUCP> Date: 5 Jul 89 12:37:26 GMT References: <1731@cmx.npac.syr.edu> Organization: CENTEL Federal Systems, Reston, VA. 22091-1506 Lines: 36 From article <1731@cmx.npac.syr.edu>, by gefuchs@goedel.uucp (Gill E. Fuchs): > hello net, > > suppose i want to tar an entire accound into a tar file named > GUGU.tar > > then i type (at the ~ directory) > tar cvf GUGU.tar . > > but after sometime tar tars GUGU.tar recorsively upon itself, > now i have tried all kinds of combinations with the X option for > tar but to no avail, i guess i cannot milk the correct command out of > the man pages > > help? > Gill, Start your tars on the directory level ABOVE the directory you wish to copy. IE: you have a directory /usr/GUNU you cd /usr tar -cvf GUNU.tar GUNU Now the directory GUNU and all below it will be put into the file GUNU.tar. As the file GUNU.tar is not in the path of the backup, it will not create you any problems. -- Larry Taborek ..!uunet!grebyn!macom1!larry Centel Federal Systems larry@macom1.UUCP 11400 Commerce Park Drive Reston, VA 22091-1506 703-758-7000