Newer versions of tar (GNU) have "z" argument, so it would work like this: tar zcvf /dev/rmt0 /my/directory If your tar doesn't support "z" flag, you can do it like this: tar cvf - /my/directory |compress|dd of=/dev/rmt0 You can also do it with cpio. If your cpio supports "-C" buffering, you can play around with dd and speed things up significantly. -- Mladen Gogala A & E TV Network Ext. 1216 > -----Original Message----- > From: Ruth Gramolini [mailto:rgramolini@xxxxxxxxxxxxxxx] > Sent: Friday, September 03, 2004 3:32 PM > To: oracle-l@xxxxxxxxxxxxx > Subject: RE: OT : compress & write to tape - how to ? > > > We do it with the os command "compress /directory/*" then > copy it to tape. Nothing fancy, but it works. > > HTH, > Ruth > > -----Original Message----- > From: oracle-l-bounce@xxxxxxxxxxxxx > [mailto:oracle-l-bounce@xxxxxxxxxxxxx]On > Behalf Of Prem > Khanna J > Sent: Friday, September 03, 2004 3:14 AM > To: oracle-l@xxxxxxxxxxxxx > Subject: OT : compress & write to tape - how to ? > > > Hi all, > please excuse me for this OT question. > > which is the best way to compress a directory > and write to tape in AIX5.2L ? > > i see various combinations of tar, gzip , dd ... > on the net to do this task. > > Regards, > Prem. > --- > To unsubscribe - > mailto:oracle-l-> request@xxxxxxxxxxxxx&subject=unsubscribe > To > read recent > messages - //freelists.org/archives/oracle-l/09-2004 > > -- > To unsubscribe - > mailto:oracle-l-> request@xxxxxxxxxxxxx&subject=unsubscribe > To > search the > archives - //www.freelists.org/archives/oracle-l/ > -- To unsubscribe - mailto:oracle-l-request@xxxxxxxxxxxxx&subject=unsubscribe To search the archives - //www.freelists.org/archives/oracle-l/