Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* TAR ??
@ 1996-07-21 16:52 Steven D Cook
  1996-07-21 17:04 ` Jeff Mickey
  0 siblings, 1 reply; 3+ messages in thread
From: Steven D Cook @ 1996-07-21 16:52 UTC (permalink / raw)


I have read the tar.man and it is about 20 pages too long so could 
someone refresh my memory about how to tar 50 files that are in one 
directory?  I want them in one file.tar.
I also want to zip them, but that I know how to do:-)
TIA
-------------------------------------------------------------
 WASHINGTON STATE UNIVERSITY    |"In the beginning there was
 Steven D Cook summer '96 GRAD!!| nothing, which exploded."
 http://www.eecs.wsu.edu/~scook |     Yeah Right!!!
_____________________________________________________________

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: TAR ??
  1996-07-21 16:52 TAR ?? Steven D Cook
@ 1996-07-21 17:04 ` Jeff Mickey
  0 siblings, 0 replies; 3+ messages in thread
From: Jeff Mickey @ 1996-07-21 17:04 UTC (permalink / raw)


On Sun, 21 Jul 1996, Steven D Cook wrote:

> 
> I have read the tar.man and it is about 20 pages too long so could 
> someone refresh my memory about how to tar 50 files that are in one 
> directory?  I want them in one file.tar.
> I also want to zip them, but that I know how to do:-)
> TIA

	tar czvf (name of file).tar (path to directory)/*

	This will get you everything in the selected directory and compress 
it...:)
jeff

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: TAR ??
       [not found] <Pine.SUN.3.91.960721115636.15805E-100000@huitzilo.tezcat.com>
@ 1996-07-22  8:57 ` Harald Koenig
  0 siblings, 0 replies; 3+ messages in thread
From: Harald Koenig @ 1996-07-22  8:57 UTC (permalink / raw)


> 	tar czvf (name of file).tar (path to directory)/*
> 
> 	This will get you everything in the selected directory and compress 
> it...:)

not really true, this won't include any "dot files" (.*) in "path to directory"
(and command line might be *way* too long for some shells/Unices when there
are lots of files in "path to directory" !)

also you shouldn't use the extension ".tar" for compressed tar files.  
so I'd suggest

	tar cvf (name of file).tar (path to directory)/.
or
	tar czvf (name of file).tar.gz (path to directory)/.

Harald

-- 
All SCSI disks will from now on                     ___       _____
be required to send an email notice                0--,|    /OOOOOOO\
24 hours prior to complete hardware failure!      <_/  /  /OOOOOOOOOOO\
                                                    \  \/OOOOOOOOOOOOOOO\
                                                      \ OOOOOOOOOOOOOOOOO|//
Harald Koenig,                                         \/\/\/\/\/\/\/\/\/
Inst.f.Theoret.Astrophysik                              //  /     \\  \
koenig@tat.physik.uni-tuebingen.de                     ^^^^^       ^^^^^

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1996-07-22  8:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-07-21 16:52 TAR ?? Steven D Cook
1996-07-21 17:04 ` Jeff Mickey
     [not found] <Pine.SUN.3.91.960721115636.15805E-100000@huitzilo.tezcat.com>
1996-07-22  8:57 ` Harald Koenig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox