Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Jul 2002 22:24:10 -0400 (EDT)
From:      Jerry McAllister <jerrymc@clunix.cl.msu.edu>
To:        raiden@shell.core.com (Steven Lake)
Cc:        jerrymc@clunix.cl.msu.edu (Jerry McAllister), raiden@shell.core.com (Steven Lake), freebsd-questions@FreeBSD.ORG
Subject:   Re: Tar and RM
Message-ID:  <200207280224.g6S2OAm24350@clunix.cl.msu.edu>
In-Reply-To: <Pine.GSO.4.44L0.0207261912290.23136-100000@shell.core.com> from "Steven Lake" at Jul 26, 2002 07:36:55 PM

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> >    tar cf /some/place/with/room/mydir.tar /usr/local/dir_to_tar
> >
> > Will tar up everything in /usr/local/dir_to_tar and make
> > a tarfile called mydir.tar in /some/place/with/room/
> > All file names will have full paths within your current when you
> > untar them later
> > as in  /usr/local/dir_to_tar/coolpic.jpg
> 
> 	Cool.  So if I understand this correctly, it will also grab things
> like /usr/local/dir_to_tar/some_subdir/another_subdir/somefile.jpg?  Or
> will it only get stuff in ./dir_to_tar
> 

It will get everything starting with /usr/local/dir_to_tar and under
unless you use some flags to tell it otherwise.
Throw in the -v flag  as in:
    tar cvf /some/place/with/room/mydir.tar /usr/local/dir_to_tar
and watch it all go flying by if such is your penchant..

////jerry
> 
> 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200207280224.g6S2OAm24350>