Subject: Re: Building blivets. To: frank donahoe Date: Sat, 19 Mar 94 23:13:53 EST From: Angelo Ferrigno Cc: babcock AT cfa DOT harvard DOT edu, 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 > - - - - > > -- + Angelo Ferrigno + Phone : +39 2 58160.316 + + AT&T GIS Italy - WWIS + Fax : +39 2 58160.291 + + V.le Cassala, 22 + E-Mail: Angelo DOT Ferrigno AT Italy DOT NCR DOT COM + + 20143 Milano MI (Italy) + VP phone: 326.4316 VP fax: 326.4291 +