Jan 142018
Unix like TAR tape utility for DOS.
File TAR.ZIP from The Programmer’s Corner in
Category Utilities for DOS and Windows Machines
Unix like TAR tape utility for DOS.
File Name File Size Zip Size Zip Type
TAR.DOC 3465 1434 deflated
TAR.EXE 30528 16334 deflated

Download File TAR.ZIP Here

Contents of the TAR.DOC file


tar -Archives files.

tar [key ] [files ]

tar saves andrestores files to and from an archive medium,
whichis typically a storage device such as floppy disk or
a regular file. Itsactionsare controlled by the key argument.
The key is a string of characters containing at most one
function letter and possibly one or more function modifiers.
Valid function letters are c, t, x, and r. Other arguments
to the command are files or directory names specifying which
filesare to be archived or restored. In all cases, appearance
of a directory name refers to the files and subdirectories of
that directory.

The function portion of the key is specified by one of the
following letters:

r The named files are written to the end of an
existing archive.

x The named files are extractedfrom the archive. If
a named file matches a directory whose contents had
been written onto thearchive, this directoryis
recursively extracted. If no files argument is given,
the entire contents of the archive are extracted.
Note that if several files with the same name are on
the archive, the last one overwrites all earlier ones.

t The names of the specified files are listed each
time that they occur on the archive.If no files
argument is given, all the names on the archive are listed.

c Creates a newarchive; writing beginsat the
beginning of the archive, instead of after the last file.

The followingcharacters may be used in addition to the
letter that selects the desired function:

v Normally, tardoes its work silently. The v
(verbose) option causes it todisplaythe name of
each file it treats, precededby the function
letter. Withthe t function,v givesmore
information about thearchiveentriesthan just the

f Causes tar touse thenext argument as the name of
the archive instead of the default device A:

m Tellstar to not restore the modification times.
The modification timeof the file is the timeof


tar cvf B: files

where"files" are the names of files you want archived.
Note that if a file is a directory, the contents of the
directory are recursively archived. To display a listing
of the archive, enter:

tar tvf B:

At some latertime you will likely want to extract the files
from the archive floppy. Youcan do this by entering:

tar xvf B:

The above command extracts all files from thearchive, using
the exact same pathnames as used whenthe archive was
created. Because of this behavior, itis normally best to
save archive files with relative pathnames rather than
absolute ones.

In the above examples, the v verbose option is used simply
to confirm the reading or writing of archive files onthe
screen. Also,a normal file could be substituted for the
floppy deviceB: shown in the examples.

Tar deals directly with sectors on the diskette and has
no knowledge of the DOS filesystem. If a diskette has
been written with tar it will have to be reformatted
before it can be used with DOS commands such as copy,
and dir.

 January 14, 2018  Add comments

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>