Sponsored Content
Full Discussion: Need little help with
Top Forums UNIX for Dummies Questions & Answers Need little help with Post 93208 by jigarlakhani on Friday 16th of December 2005 11:51:37 AM
Old 12-16-2005
Need little help with little script

I am trying transfer 400gb worth of orcle files. I wrote this command and tried to incorporate gzip but it doesnt work..

Code:
cd /home/oracle/a; tar cvf - . |gzip -c .|ssh raman '(cd /tmp;gunzip -;tar xvf - )'&

This is my original script
cd /bcv/sblprd/u08/oradata/trxp; tar cvf - . |ssh raman '(cd /u08/oradata/trxp;tar xvf - )'&

but i get this error message.

Quote:
saiprd@takbkup2:/home/oracle > cd /home/oracle/a; tar cvf - . |gzip -c .|ssh raman '(cd /tmp;gunzip -;tar xvf - )'&
[4] 5156
saiprd@takbkup2:/home/oracle/a > a ./a 0 blocks
a ./b 0 blocks
a ./c 0 blocks
gzip: . is a directory -- ignored
sh: gunzip: not found.
Tar: blocksize = 0; broken pipe?

[4] + Done(3) cd /home/oracle/a; tar cvf - . |gzip -c .|ssh raman '(cd /tmp;gunzip -;tar xvf - )'&
saiprd@takbkup2:/home/oracle/a >

Last edited by jigarlakhani; 12-16-2005 at 01:02 PM..
 
XmScrollVisible(3X)													       XmScrollVisible(3X)

NAME
XmScrollVisible - A ScrolledWindow function that makes an invisible descendant of a ScrolledWindow work area visible SYNOPSIS
#include <Xm/ScrolledW.h> void XmScrollVisible (scrollw_widget, widget, left_right_margin, top_bottom_margin) Widget scrollw_widget; Widget widget; Dimension left_right_margin; Dimension top_bottom_margin; DESCRIPTION
XmScrollVisible makes an obscured or partially obscured widget or gadget descendant of a ScrolledWindow work area visible. The function repositions the work area and sets the specified margins between the widget and the nearest viewport boundary. The widget's location rela- tive to the viewport determines whether one or both of the margins must be adjusted. This function requires that the XmNscrollingPolicy of the ScrolledWindow widget be set to XmAUTOMATIC. Specifies the ID of the ScrolledWindow widget whose work area window contains an obscured descendant. Specifies the ID of the widget to be made visible. Specifies the margin to establish between the left or right edge of the widget and the associated edge of the viewport. This margin is established only if the widget must be moved horizontally to make it visi- ble. Specifies the margin to establish between the top or bottom edge of the widget and the associated edge of the viewport. This margin is established only if the widget must be moved vertically to make it visible. For a complete definition of ScrolledWindow and its associated resources, see XmScrolledWindow(3X). SEE ALSO
XmScrolledWindow(3X) XmScrollVisible(3X)
All times are GMT -4. The time now is 11:24 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy