tar help
Larry Taborek
larry at macom1.UUCP
Wed Jul 5 22:37:26 AEST 1989
>From article <1731 at cmx.npac.syr.edu>, by gefuchs at 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 at macom1.UUCP 11400 Commerce Park Drive
Reston, VA 22091-1506
703-758-7000
More information about the Comp.unix.questions
mailing list