Free Software for DOS
Archivers, Compressors, EXE Packers, & related – 1

9 Dec 2005

Global Menu:
Go back to Front Page Menus

Go to top of Archivers – 2
Go to top of Archivers – 3

This page:
ARCHIVERS

GZIP and TAR

Page 2:
LESSER KNOWN ARCHIVERS & COMPRESSORS

EXE COMPRESSORS AND UNPACKERS

ARCHIVE & PACKER IDENTIFIERS

Page 3:
MULTI-ARCHIVE SHELLS

MULTI-ARCHIVE VIEWERS

COMMAND LINE MULTI-ARCHIVE UTILS

ARCHIVE CONVERTERS

ARCHIVE DESCRIPTION LIST (FILES.BBS) CREATORS

ARCHIVERS

Info-ZIP (zip & unzip) — PKZIP compatible file archiver.

* * * *

[updated 2005-03-19]

"Compatible" does not equate to a cheap knockoff or clone in the case of Info-ZIP. It is format compatible with PKZIP – but the resemblance ends there. The command line syntax varies from PKZIP/UNZIP, and additional options have been introduced. Info-ZIP was developed primarily to provide cross-platform PKZIP compatibility across a variety of operating systems (DOS/Win, Unix, OS/2, Mac, VMS, Linux, Amiga, Acorn, SGI, Atari, etc.). Unlike PKZIP, it is a completely free program.

Although ZIP still can't span a zip file across multiple floppies, it does most everything else as well as PKZIP (compression size, speed). ZIP has one compression method (deflation) and can store files without compression. Although creation of self-extracting EXEs is possible, it's not elegant – it adds 30K to file size, and creates a file potentially not readable by PKZIP compatible viewers.

ZIP packages contain other utilities that add or delete comments to zipfiles, split zipfiles, and encrypt and decrypt. UNZIP packages contain other utilities that give detailed zipfile info, extract in a pipe, and create self-extracting archives. WiZ combines ZIP and UNZIP with a Windows GUI.

ZIP and UNZIP packages for DOS contain both 16- and 32-bit (DJGPP) versions of their programs, and docs. The 32-bit DOS versions requires an 80386+, FPU or emulator, and a DOS Protected Mode Interface (DPMI), supplied either by CWSDPMI, or by Windows 3.x/9x. Note: While the DOS32 programs work under Win32, the -xN.* versions are better.

Released by: Info-ZIP.org (2005).

Versions       



2005-03-11:
Zip 2.31
DOS16/32

Win32 console
2005-02-28:
UnZip 5.52
DOS16/32

Win32 console
1997-12-16:
WiZ 4.01
Win16 (3.1x) GUI
2005-03-11:
WiZ 5.03
Win32 GUI

Downloads
Zip DOS
zip231x.zip
(342K)
Zip Win32
zip231xN.zip
(202K)
UnZip DOS
unz552x3.exe
(249K)
UnZip Win32
unz552xN.exe
(357K)
WiZ16
wiz401x.exe
(323K)
WiZ32
wiz503xN.exe
(550K)

RK — High performance 32-bit archiver.

unrated

[added 2000-09-18, updated 2005-12-08]

RK is a high performance DOS archiver. Although it lacks some basic maintenance features (e.g., no "delete file from archive" option), and is not optimized for speed, it possesses several attractive features:

Requires a min. of 386+ PC and 4MB RAM (SFX archives require a 386+ target system too) — however I've (yet) to get it working on a 386SX/20 w/8MB RAM (plain DOS w/ CWSDPMI), no success either compressing or decompressing with default options.

Author: Malcom Taylor / M Software, New Zealand (2000).

2000-10-28: v1.04.1 alpha. Last command lne version, for DOS (32-bit DJGPP build) & Win32.

Downloads
DOS32
rk104a1d.exe
(461K)
Win32 console
rk104a1w.exe
(381K)

Go to the Downloads page for older versions of RK in Italian, the latest WinRK GUI version, and other related tools.


UHARC — High performance file archiver / compressor.

* * * *

[added 2005-12-08]

UHARC is becoming a power-user's favorite, able to build large archives with high compression ratios. The number of files that can be compressed in a single job is limited only by the amount of memory available. Maximum total size of files (before compression) is 2GB. Compression speed is dependent on memory type – lots of physical memory (chip RAM) allows high speed, virtual memory (disk) is slow. Requires 80386+.

A few more features: Archives are "solid" – all files are first joined into one, before compressing – so it is not possible to unarchive, remove or add individual files, except by extracting and then re-creating an entire archive. Files may be compressed in any of five modes, or archived with no compression. Multimedia detection/compression supports audio and grapics file formats. Optional encryption password. Highly detailed, understandable manual..

The download package contains UHARC for DOS32 (with PMODE/W extender built in) and for Win32. Also included are DOS32 & Win32 versions of the unpacker UnUHARC, and a Windows module that creates SFXes (archives wrapped in self-extracting executables).

Usage: UHARC command [-switches..] archive[.uha] [files..@listfile..!exclude..]
---< Commands >----------------------------------------------------------------
 a  create archive and Add files         e  Extract files to current directory
 m  create archive and Move files        x  eXtract files with full pathname
 l  List files in archive                t  Test files in archive
---< Switches >----------------------------------------------------------------
 d<0..2>     Set display mode (0 = quiet, 1 = default, 2 = verbose)
 m<0..3,x,z> Set cmp.mode (0 = STORE, 1..3 = ALZ:fast..best, x = PPM, z = LZP)
 md<n>       Set dictionary size in KByte (must be power of 2 : 1 .. 32768)
 mm[-,+]     Disable/enable built-in multimedia detection/compression
 o[-,+,p]    Overwrite existing files (- = never, + = always, p = prompt)
 p<-,r,f,e>  Store (- = no, r = relative, f = full, e = excluded) pathnames
 ph[-,+]     Archive header encryption   |  ac[-,+]    Clear file archive attr
 pw[passwd]  Set password                |  ae<attr>   Set attr exclusion mask
 r[-,+]      Recurse subdirectories      |  b<n>       Set max filebuffer size
 t<dir>      Set extract target dir      |  bpb[-,+]   bpb instead of % ratio
 vm[-,+]     Set virtual memory usage    |  ed[-,+]    Store empty directories
 y[-,+]      Assume yes on all queries   |  lg<file>   Log output to <file>

Author: Uwe Herklotz, Germany (2005).

2005-10-01: v0.6b.

Download uharc06b.zip (464K).

Also interesting are two Windows GUI shells for UHARC: WinUHA (donationware), and File Compress (free for non-commercial use).


IMP — Super tight and fast 32-bit archiver

* * * *

[added 2001-07-29, updated 2004-06-27]

This multi-purpose archiver compresses files very tightly and quickly. IMP can also unzip ZIP archives.

Notable features: Limitations:

Author: Technelysium Pty Ltd., Australia (2000). Suggested by Robert Bull.

2000-02-29: IMP v1.1 for DOS16. Development has ended. No longer available from Technelysium, but from other locations.

2000-01-21: WinImp v1.12 for Win9x/NT command line.

Downloads
DOS16
imp110d.zip
(265K)
Win32
imp112.exe
(123K)

Get more info, and source code (in C) for the Unimp extractor at the IMP page.


UltraCompressor II (UC, UC2) — Archiver compresses files tighter than PKZIP (but see below...)
UltraExpander II (UE, UE2), extracts or lists files in a UC2 archive.

* * * *

[updated 2005-12-08]

...but PKZIP is the standard, regardless of its shortcomings. UC was one of several file compression programs that tried to unseat PKZIP from its dominant market position. While UC is not "freeware" it is free for individual use. UC's method of compression involves analyzing files for content type prior to compression. This allows a smarter and tighter compression of a set of files than is possible with PKZIP. The cost is slightly longer compression times. UC is operating system-aware (DOS/Win/OS/2) and can preserve extended attributes for OS/2 files.

UC's principal drawback is its inability to span files across multiple floppy diskettes (includes a separate utility that performs this task). Compression seems to require a large amount of memory – if you have a problem, try the included UltraStealth, a TSR that "allows UltraCompression with almost no free memory". UC may leave temp files on disk. UC never achieved the popularity of PkZIP, ARJ, RAR, or LHA and has not seen an update since 1996.

SYNTAX: UC command [option(s)] archive-name [files]
                                                     UC -!      configure UC2
COMMANDS: A D E   add / delete / extract             UC -??     view the manual
            L V   list / verbose list                UC -? ...  search manual
            P U   damage protect / unprotect         VU         start Visual UC
              T   test (& repair)
              C   convert archive to .UC2 archive
              O   optimize (especially with many versions of files)
              R   revise archive comment

OPTIONS: (directly after command, or preceded by '-' or '/')
       TF TN TT   fast / normal / tight-multimedia
              S   include subdirectories
              M   move mode
              F   force mode (never ask, always yes)
            I B   incremental mode (keep versions) / basic mode

;n  specify version      !DTT=YYYY-MM-DD/HH:MM:SS  dynamic time travel
!exclude files   #destination   ##+sourcepath   & concat   @script

To bring up a menu of options, start UC with no parameters.

UltraExpander:
Usage:   UE SAMPLE      Extract all files in SAMPLE.UC2 to the current
                        directory. UE will ask permission before it
                        overwrites files or creates subdirectories.

         UE -L SAMPLE   List all files in SAMPLE.UC2.
Other utils in the UC package:
UCEXE
Tight EXE file compressor, self-checking (only free for individual use; can't distribute EXEs without license).
UC2SEA
Converts UC2 archives to self-extracting EXEs that present the end-user with directory destination and abort options.
Visual UltraCompressor (VU)
Freestanding graphical shell, shows directories or archives in four panels. Keyboard or mouse operation.
UltraDIFF (UDIFF)
Visually compares two versions of a text file.
UltraCrypt (UCRYPT)
Encryption / decryption tool with password protection.
Simple Archive Splitter (SAS)
Splits an archive into pieces, any size.
Configuration
.INI file stores settings. Available from the startup menu, or from the command: UC -!
Manual viewer
Keyboard or mouse operation. Available from the startup menu, or from the command: UC -??

Author: AIPNL, Netherlands (1994-96).

Versions       
1995-06-01:
UC
2.3

1996-04-21:
UC
2.37beta
Improved Win95 support
1994-05-19:
UE

Downloads
UC v2.3
uc2pro.exe
(385K)
UC v2.37beta
uc237b.exe
(401K)
UE
ue.exe
(96K)

Note: Download links in AINPL page are broken – use ours.


LHA — Creates freely distributable self extracting archives.

* * *

[updated 2005-09-24]

LHA is an older but popular archiver which shares similar compression statistics with PKZip. Unlike PKZip, Arj, UC2, and RAR, LHA is true freeware, and self-extracting archives created by LHA may be freely distributed. Compression / decompression are handled by a single exe.

Also see LHA's newer, tighter and faster freeware sibling, LHARK.

LHA version 2.55b                     Copyright (c) Haruyasu Yoshizaki, 1988-92
=== <<< A High-Performance File-Compression Program >>> ========  11/24/92  ===
 Usage: LHA <command> [/option[-+012|WDIR]] <archive[.LZH]> [DIR\] [filenames]

<command> a: Add files           u: Update files        m: Move files
          f: Freshen files       d: Delete files        p: disPlay files
          e: Extract files       x: eXtract files with pathnames
          l: List of files       v: View listing of files with pathnames
          s: make Self-extracting archive   t: Test the integrity of archive
<option>
          r: Recursively collect files      w: assign Work directory
          x: allow eXtended file names      m: no Message for query
          p: distinguish full Path names    c: skip time-stamp Check
          a: allow any Attributes of files  z: Zero compression (only store)
          t: archive's Time-stamp option    h: select Header level(default=1)
          o: use Old compatible method      n: display No indicator/pathname
          i: not Ignore lower case          l: display Long name with indicator
          s: Skip by time is not reported   -: '@' and/or '-' as usual letters
          d: pack Directory name also       f: Force to write without check

Note: All of the versions listed here (English/Japanese, DOS/Win) take the same commands.

Author: Haruyasu Yoshizaki, Japan (1992-96).

Versions       
1992-11-24:
2.55b
DOS16
EXEs in Japanese & English / manual & update docs in Japanese
1996-01-10:
2.55e
DOS16
Repackaged 2.55b, with EXE in English only / manuals & update docs in Japanese & English
1995-10-07:
2.67beta
Win32 console
EXE in Japanese / update docs in Japanese & English (no manual)

Downloads (LHA SFX archives)
v2.55b
lha255b.exe
(69K)
Get this if you need DOS EXE in Japanese
v2.55e
lha255e.exe
(65K)
Get this if you do not need DOS EXE in Japanese
v2.67
lha267.exe
(50K)
Win EXE & update docs in Japanese

lha267e.exe
(4.5K)
Update docs only, in English

UnRAR — Unpacks RAR archives.

* * * * *

[updated 2005-12-08]

UnRAR is the unpacker for RAR compressed files. All versions are free for personal use only. Since the RAR archiver is shareware, I will not describe its terrific features except to note that it is becoming a more popular format on Eastern European ftp sites, BBSes, and FIDONET.

v2.50 for 16-bit DOS & OS/2
Usage:     UNRAR <command> -<switch 1> -<switch N> <archive> <files...>
                 <@listfiles...> <path_to_extract\>
<Commands>
  x     Extract with full path        e    Extract to current directory
  t     Test archive files            p    Print file to stdout
  l     List contents of archive      v    Verbosely list contents of archive

<Switches>
  r     Recurse subdirectories        y     Assume Yes on all queries
  o+    Overwrite existing files      o-    Do not overwrite existing files
  f     Freshen files                 u     Update files
  c-    Disable comments show         ems-  Disable expanded memory usage
  v     List all volumes              av-   Disable AV check
  x<file>       Exclude specified file
  x@<list>      Exclude files in specified list file
  p<password>   Set password
  p-            Do not query password
  kb            Keep broken extracted files
  w<path>       Assign work directory
_______________________________________________________________________________
v3.3.6 for 32-bit DOS & OS/2
Usage:     unrar <command> -<switch 1> -<switch N> <archive> <files...>
               <@listfiles...> <path_to_extract\>

<Commands>
  e             Extract files to current directory
  l[t,b]        List archive [technical, bare]
  p             Print file to stdout
  t             Test archive files
  v[t,b]        Verbosely list archive [technical,bare]
  x             Extract files with full path

<Switches>
  -             Stop switches scanning
  ad            Append archive name to destination path
  ap<path>      Set path inside archive
  av-           Disable authenticity verification check
  c-            Disable comments show
  cfg-          Disable read configuration
  cl            Convert names to lower case
  cu            Convert names to upper case
  dh            Open shared files
  ep            Exclude paths from names
  f             Freshen files
  idp           Disable percentage display
  ierr          Send all messages to stderr
  inul          Disable all messages
  kb            Keep broken extracted files
  o+            Overwrite existing files
  o-            Do not overwrite existing files
  p[password]   Set password
  p-            Do not query password
  r             Recurse subdirectories
  ri<P>[:<S>]   Set priority (0-default,1-min..15-max) and sleep time in ms
  ta<date>      Process files modified after <date> in YYYYMMDDHHMMSS format
  tb<date>      Process files modified before <date> in YYYYMMDDHHMMSS format
  tn<time>      Process files newer than <time>
  to<time>      Process files older than <time>
  ts<m,c,a>[N]  Save or restore file time (modification, creation, access)
  u             Update files
  v             List all volumes
  ver[n]        File version control
  vp            Pause before each volume
  x<file>       Exclude specified file
  x@            Read file names to exclude from stdin
  x@<list>      Exclude files in specified list file
  y             Assume Yes on all queries
_______________________________________________________________________________
v3.50beta1 and v3.51 for Win32 console
Usage:     unrar <command> -<switch 1> -<switch N> <archive> <files...>
               <@listfiles...> <path_to_extract\>

<Commands>
  e             Extract files to current directory
  l[t,b]        List archive [technical, bare]
  p             Print file to stdout
  t             Test archive files
  v[t,b]        Verbosely list archive [technical,bare]
  x             Extract files with full path

<Switches>
  -             Stop switches scanning
  ac            Clear Archive attribute after compression or extraction
  ad            Append archive name to destination path
  ap<path>      Set path inside archive
  av-           Disable authenticity verification check
  c-            Disable comments show
  cfg-          Disable read configuration
  cl            Convert names to lower case
  cu            Convert names to upper case
  dh            Open shared files
  ep            Exclude paths from names
  ep3           Expand paths to full including the drive letter
  f             Freshen files
  id[c,d,p,q]   Disable messages
  ierr          Send all messages to stderr
  inul          Disable all messages
  ioff          Turn PC off after completing an operation
  kb            Keep broken extracted files
  n<file>       Include only specified file
  n@            Read file names to include from stdin
  n@<list>      Include files in specified list file
  o+            Overwrite existing files
  o-            Do not overwrite existing files
  oc            Set NTFS Compressed attribute
  ow            Save or restore file owner and group
  p[password]   Set password
  p-            Do not query password
  r             Recurse subdirectories
  ri<P>[:<S>]   Set priority (0-default,1-min..15-max) and sleep time in ms
  ta<date>      Process files modified after <date> in YYYYMMDDHHMMSS format
  tb<date>      Process files modified before <date> in YYYYMMDDHHMMSS format
  tn<time>      Process files newer than <time>
  to<time>      Process files older than <time>
  ts<m,c,a>[N]  Save or restore file time (modification, creation, access)
  u             Update files
  v             List all volumes
  ver[n]        File version control
  vp            Pause before each volume
  x<file>       Exclude specified file
  x@            Read file names to exclude from stdin
  x@<list>      Exclude files in specified list file
  y             Assume Yes on all queries

Authors: Eugene Roshal, Alexander Roshal / RARLAB, Russia (2000-2005).

Versions       





1999-03-02:
2.50
DOS & OS/2
16-bit, last version for 80286 & under. Available by itself or as part of the shareware RAR 2.50 package.
2004-03-18:
3.3.6
DOS & OS/2
32-bit, requires 80386+. Extender included.
2005-03-30:
3.50beta1
Win32 console 
2005-10-07:
3.51
Win32 console
Available only as part of the shareware WinRAR 3.51 package.

Downloads
v2.50
DOS16
unrar250.zip
(71K)

rar250.exe
(264K)
v3.3.6
DOS32
urar336d.zip
(142K)
v3.50beta1
Win32
unrarw32.exe
(186K)
v3.51
Win32
wrar351.exe
(991K)

UnRAR and RAR for other OSes, and in many languages, can be found at RARLAB, including its WinRAR and RAR archiver addons page, and at SAC sites in the PACK directory.


ARJ — Archiver with unmatched file management capabilities.
REARJ — Converts archives to ARJ format.
UNARJ — Unpacks ARJ archives.

unrated

[added 1998-12-15, updated 2005-12-08]

ARJ is a popular and versatile shareware archiver (free for individual use only). Compression stats are average but ARJ's file management capabilities are unmatched. An excellent choice for maintaining backups. Can archive files to multiple volumes regardless of destination media. Can create self-extracting archive EXEs. Supports Long File Names under all Win32. Free for individual use, except "you cannot distribute ARJ self extracting files publicly without a license". Also see the author's JAR archiver – many options, better compression, like ARJ free for individual use.

List of frequently used commands and switches.  Type ARJ -? for more help.

Usage:     ARJ <command> [-<sw> [-<sw>...]] <archive_name> [<file_names>...]
Examples:  ARJ a -e archive, ARJ e archive, ARJ l archive *.doc
<Commands>
 ac: Add Chapter to chapter archive     l: List contents of archive
  a: Add files to archive               m: Move files to archive
  c: Comment archive files              t: Test integrity of archive
  d: Delete files from archive          u: Update files to archive
  e: Extract files from archive         v: Verbosely list contents of archive
  f: Freshen files in archive           x: eXtract files with full pathname
<Switches>
  c: skip time-stamp Check              r: Recurse subdirectories
  e: Exclude paths from names           u: Update files (new and newer)
  f: Freshen existing files             v: enable multiple Volumes
  g: Garble with password               w: assign Work directory
  i: with no progress Indicator         x: eXclude selected files
  m: with Method 0, 1, 2, 3, 4          y: assume Yes on all queries
  n: only New files (not exist)        hk: enable ARJ-PROTECT damage protection

REARJ converts ARC, DWC, HYP, LZH, LZS. PAK. ZIP, ZOO archives to ARJ format. Like ARJ, REARJ supports Long File Names under all Win32.

Usage:  REARJ [switch options] <filespec(s) or wildname(s)>
  Switch options: (can be placed before or after filespecs)
  /a[suffix] convert archives within archives ("*" for all formats)
  /bcommand  execute DOS command before extracting files
  /ccommand  execute DOS command on extracted files before counting them
  /d         delete original archives
  /f         convert diskette archives
  /i[name]   check integrity of REARJ.EXE
  /l[name]   write append log file (default name is REARJ.LOG)
  /o         allow overwrite of existing target archive
  /p         ignore long filenames under Windows 95
  /q         query for each archive to convert
  /r         recurse through subdirectories
  /s         skip verify of file count and total size
  /tsuffix   create suffix type archives
  /u[bak]    allow update of archive with backup (default is BAK)
  /v         execute configured command on extracted files
  /wdir      assign work directory
  /xfile     exclude file or wildname
  /z         simulate operation
Example:  REARJ *.* /r /d    Convert all archives to ARJ format, searching
                             all subdirectories, deleting original archives

UNARJ unpacks or lists the contents of ARJ archives. ARJ itself can unpack and list archives, but if you don't need everything else it does, get UNARJ – it's good enough, and smaller. The download package contains DOS and Win32 versions, plus C source code.

Usage:  UNARJ archive[.arj]    (list archive)
        UNARJ e archive        (extract archive)
        UNARJ l archive        (list archive)
        UNARJ t archive        (test archive)
        UNARJ x archive        (extract with pathnames)

Author: Robert Jung / Arj Software (2002, 2005).

Versions       



2005-10-11:
ARJ
2.84
2005-09-26
REARJ
2.44
2002-06-05
UNARJ
2.65

Downloads



ARJ & REARJ
arj284.exe
(473k)
UNARJ
unarj265.exe
(96K)

GZIP and TAR

gzip — Compresses single files, can handle *.tgz, *.gz, *.z extensions.

unrated

[added 1998-12-15, updated 2005-02-04]

This is the DOS port of gzip (GNU zip), widely used on Unix systems. Use it to compress GNU or other uncompressed tar files.

gzip 1.2.4 (18 Aug 93)
usage: gzip [-cdfhlLnNrtvV19] [-S suffix] [file ...]
 -c --stdout      write on standard output, keep original files unchanged
 -d --decompress  decompress
 -f --force       force overwrite of output file and compress links
 -h --help        give this help
 -l --list        list compressed file contents
 -L --license     display software license
 -n --no-name     do not save or restore the original name and time stamp
 -N --name        save or restore the original name and time stamp
 -q --quiet       suppress all warnings
 -r --recursive   operate recursively on directories
 -S .suf  --suffix .suf     use suffix .suf on compressed files
 -t --test        test compressed file integrity
 -v --verbose     verbose mode
 -V --version     display version number
 -1 --fast        compress faster
 -9 --best        compress better
 file...          files to (de)compress. If none given, use standard input.

Released by gzip.org (2004).

Versions       
1993-08-19:
1.2.4
Three variants: DOS16 (last), DOS32 (extender built in), OS/2 1.x
2004-12-15:
1.3.5
32-bit DJGPP build, with Win32 support & more — the better version for all OSes on 80386+

Downloads
v1.2.4
gzip124x.zip
(178K)
EXEs, manual

gzp124ad.zip
(95K)
Docs: dvi/ps/htm
v1.3.5
gzip135b.zip
(143K)
EXEs, manual

gzip135d.zip
(225K)
Docs: dvi/ps/htm/pdf

GNU Tar — DOS/Windows port of the Unix archiver.

unrated

[added 2000-02-25, updated 2005-12-08]

This port, of the GNU port of the Unix tar, (tape archiver), is not for tape only: It supports archiving in any medium. Windows or other Long File Names are changed to DOS 8.3. Extensive, approachable documentation. 32-bit DJGPP build, requires 80386+ CPU. "...all the features in the original Unix code also work in the DOS/Windows port...exception is the lack of support for remote archives."

Usage: tar [OPTION]... [FILE]...

If a long option shows an argument as mandatory, then it is mandatory
for the equivalent short option also.  Similarly for optional arguments.

Main operation mode:
  -t, --list              list the contents of an archive
  -x, --extract, --get    extract files from an archive
  -c, --create            create a new archive
  -d, --diff, --compare   find differences between archive and file system
  -r, --append            append files to the end of an archive
  -A, --catenate          append tar files to an archive
      --concatenate       same as -A
      --delete            delete from the archive (not on mag tapes!)

Operation modifiers:
  -W, --verify               attempt to verify the archive after writing it
      --remove-files         remove files after adding them to the archive
  -k, --keep-old-files       don't overwrite existing files when extracting
  -u, --update               replace entries or extract files only if newer
  -U, --unlink-first         remove each file prior to extracting over it
      --recursive-unlink     empty hierarchies prior to extracting directory
  -S, --sparse               handle sparse files efficiently
  -O, --to-stdout            extract files to standard output
  -G, --incremental          handle old GNU-format incremental backup
  -g, --listed-incremental   handle new GNU-format incremental backup
      --name-prefix=PREFIX   prepend PREFIX to each name in create archive
      --ignore-failed-read   do not exit with nonzero on unreadable files

Handling of file attributes:
      --owner=NAME             force NAME as owner for added files
      --group=NAME             force NAME as group for added files
      --mode=CHANGES           force (symbolic) mode CHANGES for added files
      --atime-preserve         don't change access times on dumped files
  -m, --modification-time      don't extract file modified time
      --same-owner             try extracting files with the same ownership
      --numeric-owner          always use numbers for user/group names
  -p, --same-permissions       extract all protection information
      --preserve-permissions   same as -p
  -s, --same-order             sort names to extract to match archive
      --preserve-order         same as -s
      --no-attributes          do not restore any file attribute
      --preserve               same as both -p and -s

Device selection and switching:
  -f, --file=ARCHIVE             use archive file or device ARCHIVE
      --force-local              archive file is local even if has a colon
      --rsh-command=COMMAND      use remote COMMAND instead of rsh
  -[0-7][lmh]                    specify drive and density
  -M, --multi-volume             create/list/extract multi-volume archive
  -L, --tape-length=NUM          change tape after writing NUM x 1024 bytes
  -F, --info-script=FILE         run script at end of each tape (implies -M)
      --new-volume-script=FILE   same as -F FILE
      --volno-file=FILE          use/update the volume number in FILE

Device blocking:
  -b, --blocking-factor=BLOCKS   BLOCKS x 512 bytes per record
      --record-size=SIZE         SIZE bytes per record, multiple of 512
  -i, --ignore-zeros             ignore zeroed blocks in archive (means EOF)
  -B, --read-full-records        reblock as we read (for 4.2BSD pipes)

Archive format selection:
  -V, --label=NAME                   create archive with volume name NAME
              PATTERN                at list/extract time, a globbing PATTERN
  -o, --old-archive, --portability   write a V7 format archive
      --posix                        write a POSIX conformant archive
  -z, --gzip                         filter the archive through gzip
  -Z, --compress                     filter the archive through compress
      --use-compress-program=PROG    filter through PROG (must accept -d)

Local file selection:
  -C, --directory=DIR          change to directory DIR
  -T, --files-from=NAME        get names to extract or create from file NAME
      --null                   -T reads null-terminated names, disable -C
      --exclude=PATTERN        exclude files, given as a globbing PATTERN
  -X, --exclude-from=FILE      exclude globbing patterns listed in FILE
  -P, --absolute-names         don't strip leading '/'s from file names
  -h, --dereference            dump instead the files symlinks point to
      --no-recursion           avoid descending automatically in directories
  -l, --one-file-system        stay in local file system when creating archive
  -K, --starting-file=NAME     begin at file NAME in the archive
  -N, --newer=DATE             only store files newer than DATE
      --newer-mtime            compare date and time when data changed only
      --after-date=DATE        same as -N
      --backup[=CONTROL]       backup before removal, choose version control
      --suffix=SUFFIX          backup before removal, override usual suffix

Informative output:
      --help            print this help, then exit
      --version         print tar program version number, then exit
  -v, --verbose         verbosely list files processed
      --checkpoint      write a progress message every ten records
      --totals          print total bytes written while creating archive
  -R, --block-number    show block number within archive with each message
  -w, --interactive     ask for confirmation for every action
      --confirmation    same as -w

The backup suffix is '~', unless set with --suffix or SIMPLE_BACKUP_SUFFIX.
The version control may be set with --backup or VERSION_CONTROL, values are:

  t, numbered     make numbered backups
  nil, existing   numbered if numbered backups exist, simple otherwise
  never, simple   always make simple backups

This 'tar' cannot produce '--posix' archives.  Also, if POSIXLY_CORRECT
is set in the environment, GNU extensions are disallowed with '--posix'.
Support for POSIX is only partially implemented, don't depend on it yet.
ARCHIVE may be FILE, HOST:FILE or USER@HOST:FILE; and FILE may be a file
or a device.  *This* 'tar' defaults to '-f- -b20'.
Newbie hint: use syntax
tar -x < my.tar
to extract files from archive, etc.

Authors: John Gilmore, Jay Fenlason, et al. (1988-2003).

2003-12-15: v1.12a recompiled.

Downloads
Binary, manual
tar112ab.zip
(259K)
Docs: dvi/html/ps
tar112ad.zip
(581K)
Source
tar112as.zip
(1.1M)

Online manual.


tar v3.20 & v3.21 — Non-GNU tar, especially useful for transferring data between OSes.

unrated

[added 1998-12-15, updated 2005-08-03]

From the docs:
Allows extract from/write to archives in files, floppies or QIC-02 and ASPI-driven SCSI streamers in both regular 'tar' format and compressed by (g)zip or 'compress.' Distinguishing features: processes in a uniform way under both MS-DOS and UNIX clones; read/write UNIX-compatible floppies and quarter-inch streamer cartridges under DOS; supports unusual floppy formats; supplies data compression option under both DOS and UNIX; allows reading of System V and/or GNU multivolume archives under DOS and all UNIX clones; includes option to restore damaged archives...
   Usage: tar -<options> [tapefile] [blocksize] [disksize] file ...

   Options are:
     c - put files to new archive     s - no wildcards for archive
     a,r - add files to archive       m - forget files date/time
     y - move files to archive        n - no proceed with dir nesting
     x - extract files from archive   l - copy linked files
     t - show archive catalog         o - prevent files overwriting
     d - delete files in archive      \ - omit left '\' in file names
     u - update files                 : - omit DOS drive name
     v - verbose                      0...3 - number of storage device
     w - acknowledge operations       j - comment storying files
     i - ignore read errors           f - next arg is an archive file
     e - compress encode files        b - next arg is a blocking factor
     z - old-fashion compression      k - next arg is K diskette size
     , - run through compressor       @ - next arg is a responce file
     . - run through (g)zip           # - exclude file(s) specification

   Most of options may be combined. Wildcards * and ? are o'k

   The following "file names" will be treated as diskette format/size:
	fd048ss8  - 160K	fd048ds8  - 320K	fd135ds9  - 720K
	fd048ss9  - 180K	fd048ds9  - 360K	fd135ds18 - 1.4M
	fd096ds9  - 720K	fd096ds15 - 1.2M	rainbow

   Streamer "file name" syntax (full form) is:
	<device>:base:=<base address>h,dma:=<DRQ>[,irq:=<IRQ>][,norewind]
   Streamer device clones supported are:
	archive,	everex,		wangtek

   The following "file names" are aliases for ASPI driven SCSI streamer:
	aspitape,	aspimgr$,	aspi
   Full form is:
	aspi[:target:=<n>[,lun:=<n>][,adapter:=<n>][,density:=<x>]]

Other notes: Runs on any PC under DOS 3.0+. v3.21delta adds support for LFNs under Win95 (but is still a 16-bit prog). Source included in distribution files.

Author: Timur V. Shaporev, Russia (1997).

Versions       


Downloads 

1996-07-03:
v3.20g
tar320g.zip
(178K)
1997-12-25:
v3.21&delta
tar321-4.zip
(190K)

UNTAR — Useful for browsing tar files.

unrated

[added 1999-08-16, updated 2005-12-08]

I most often use this for casual browsing of downloaded tar files. The few options are easily comprehended. Handles Win9x LFNs: "Untar also supports long file names (LFNs) in the DOS-prompt of Win95/98/NT by renaming the files after untaring them [creates batch file with rename commands]."

Usage : untar [/option(s)] file name

        where file name is the name of the file to be processed.
        Options:
        /x  Extract file and ask always for a new file name,
            if UNIX-file name contains path information.
            You can skip file by entering * as new file name.
        /n  Extract to file name without path (default).
        /p  Extract to file name in the directory defined
            in tar-file. (Create directory if non-existent).
        /v  View files in tar-archive.
        /s  Writes file names in archive to the file UNTAR.TXT
        /l  Writes file names and sizes to the file UNTAR.TXT
        /o  Overwrite without asking (to be combined with xnp)
        /u  Convert illegal chars in file names to underscore.
        /r  Rename file if already exists (extension : $00...$99)4
        /t  Do not write the UNTARLOG.TXT
        /b  Do not write the UNTARREN.BAT
        /i  More information and version identification.

When a tar-file is processed, a log file UNTARLOG.TXT, containing
the Unix-file names and the resulting DOS-file names, is made.
Also a file UNTARREN.BAT is generated, which can be used for
moving the untarred files to their original long file names.

Author: Michael Husted, Denmark (1999).

1999-07-22: v1.4.

Download untar.zip (14K).


Go to Top | Front Page ]


©1994-2004, Richard L. Green.
This Edition ©2004-2005, Richard L. Green and Short.Stop.