[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [blt] how do you tar a set of files for a package

On Wed, May 03, 2000 at 07:33:57AM -0400, pac1@tiac.net wrote:
> >
> > This is one of the things to put on an index card ;-)
> >
> >         gzip -dc filename.gz | tar -xvf -
> >
> >         tar -cvf tarballname.tar files_or_directory
> >
> >         tar -cvzf tarballname.tar.gz files_or_directory
> How about this for an idea:
> Here's the idea:
> New Documents or segments of an FAQ
> Frequently Executed Commands for a package
> Complete commands with sets of options for various purposes with a 
> description of > the purpose of the command not longer than a
> single line of text, preferably on the same line as the command
> For example
> tar -xvf filename     Extract and List files from a .tar file
> tar -xzvf  filename  Extract and List files from a .tar.gz file
> Frequently Used Flags
> tar x Extract as in tar xf filename
>       v List files while extracting  as in tar xvf filename
>        f filename  Specify the filename for input or output as in xf or cf
>        c Create an archive as in tar cf mystuff.tar

I think this belongs embedded in the command itself.  For tar it's
"tar --help" which provides much of what you ask for above.  It might
be nice to have various levels of help for command-line commands.  For
example "tar -h" might mean short help (includes only commonly used
options and excludes seldom used options).  This is a small part of the
big task of integrating Linux documentation and the group that was
working on this topic fell apart.  Most of the man pages are supplied
with the software and are not done by LDP, but we need to be concerned
about them.
--                      David Lawyer

To UNSUBSCRIBE, email to ldp-discuss-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org