Subject: Re: FTPCONVERSIONS HELP NEEDED [1075] [1080]

From: [email-masked]
Date: Wed, 11 Jan 1995 10:33:38 +0100

>Thanks to those who have responded to me.  I am able to do a get dirname.tar 
>
>now however I can't get anything compressed.  Here is my ftp conversions
>file.
>
>:.Z: : :/bin/compress -d -c %s:T_REG|T_ASCII:O_UNCOMPRESS:UNCOMPRESS
> :-z: : :/bin/compress -d -c %s:T_REG|T_ASCII:O_UNCOMPRESS:UNCOMPRESS
> :   : :.Z:/bin/compress -c %s:T_REG|O_COMPRESS:COMPRESS
> : : :.tar:/bin/tar cf - %s:T_REG|T_DIR:O_TAR:TAR
> : : :.tar.Z:/bin/pipe /bin/tar cf - %s | /bin/compress
> -c:T_REG:T_DIR:O_COMPRESS|O_TAR:TAR+COMPRESS
> :.gz: :  :/bin/gzip -cd %s:T_REG|T_ASCII:O_UNCOMPRESS:GUNZIP
> :   : :.gz:/bin/gzip -9c %s:T_REG:O_COMPRESS:GZIP
> :   : :.tar:/bin/tar -cf - %s:T_REG|T_DIR:O_TAR:TAR
> :   : :.tar.Z:/bin/tar -c -Z -f
>%s:T_REG|T_DIR:O_COMPRESS|O_TAR:TAR+COMPRESS
> :   : :.tar.gz:/bin/tar -c -z -f - %s:T_REG|T_DIR:O_COMPRESS|O_TAR:TAR+GZIP
>
 (stuff deleted)

The /bin/pipe is not a standard Unix program. But the Gnu version of tar
(gtar-1.11.2) does have options to compress (standard or via gzip) the
tar'ed result.
Francois Ochsenbein / CDS Strasbourg, France