delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/03/18/11:57:23

Date: Fri, 18 Mar 1994 11:31:02 -0500
From: fdonahoe AT wilkes1 DOT wilkes DOT edu (frank donahoe)
To: babcock AT cfa DOT harvard DOT edu
Subject: Building blivets.
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu

Babcock
> How awkward.  My BBS has only a 20MB hard disk...... 

Gzipped tar files are generally about 80% the size of the corresponding zip
files.  But tar is not (?) available on MSDOS.  What may not be widely
known is that zip at zero compression is an excellent archiver.  The
corresponding gzipped files are a few hundred bytes smaller than their taz
counterparts.  I keep the pair of batch files which follow, on hand for
serious file stuffing.

- - - - -  GZIP_DIR.BAT  - - - - - 
REM  Usage:  GZIP_DIR TREE ARCHIVE, where TREE is the directory at the
REM  top of the structure and ARCHIVE is the name of the resulting file.


REM  The working directory should have TREE as a subdirectory.

@ECHO OFF
path_1\ZIP -oqr0 %2 %1
path_2\GZIP -8 %2.zip
GOTO end

Copyright notices, command summaries, options and any text so long as
the total length of GZIP_DIR.BAT does not exceed the cluster size.

:end

- - - - -  GUNZ_DIR.BAT  - - - - -
REM  Usage:  GUNZ_DIR ARCHIVE, where ARCHIVE.ZIZ is the compressed 
REM  archive file.  The files will be placed in their correct subdirectories
REM  if ARCHIVE.ZIZ is placed at the root of the intended directory tree.

@ECHO OFF
path_2\GZIP.EXE -d -q %1.ziz
path_1\UNZIP.EXE -u %1
GOTO end

Copyright notices, command summaries, options and lots of text so long
as the total length of GUNZ_DIR.BAT does not exceed the cluster size.

:end



- - - -
Frank Donahoe, Emeritus - Physics	fdonahoe AT wilkes1 DOT wilkes DOT edu
Wilkes University, Box 111		717-675-2493	(H)
Wilkes-Barre, PA  18766			717-675-6567	(fax)
USA					`Haste makes entropy!' Clausius
- - - -


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019