Replace the "file concatenate" symbol ">" with the pipe symbol "|", and
then follow that directly with the gzip command.

/usr/uv/bin/uvbackup -f -v -l "TEST" /data1/MEMBERSHIP/GM.MEDLE | gzip
-9 > /backup/GM.MEDLE.gz

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Claus Derlien
Sent: 20 February 2004 10:54
To: '[EMAIL PROTECTED]'
Subject: uvbackup

Hi,

Can anyone help me with the proper syntax for this problem :

I want to backup a single uv file (DYNAMIC) and compress it with gzip in
one
go, i have no problems doing it in two steps like this :
   
   /usr/uv/bin/uvbackup -f -v -l "TEST" /data1/MEMBERSHIP/GM.MEDLE >
/backup/GM.MEDLE
   gzip -9 /backup/GM.MEDLE

   this leaves me with GM.MEDLE.gz in /backup, very nicely

since uvbackup uses stdout
and gzip uses stdin it must somehow be possible to redirect gzip output
to
/backup/GM.MEDLE.gz

best regards from denmark

Claus Derlien
edb-afdelingen
direkte : 63 13 86 69
email   : [EMAIL PROTECTED]



***********************************************************************************

This transmission is intended for the named recipient only. It may contain private and 
confidential information. If this has come to you in error you must not act on 
anything disclosed in it, nor must you copy it, modify it, disseminate it in any way, 
or show it to anyone. Please e-mail the sender to inform us of the transmission error 
or telephone ECA International immediately and delete the e-mail from your information 
system.

Telephone numbers for ECA International offices are: Sydney +61 (0)2 9911 7799, Hong 
Kong + 852 2121 2388, London +44 (0)20 7351 5000 and New York +1 212 582 2333.

***********************************************************************************

--
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users

Reply via email to