The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 10-07-2008
amitpansuria amitpansuria is offline
Registered User
  
 

Join Date: Jul 2007
Posts: 91
regarding shell script

helo I m porting my code from HP ux to linux RHEL 4

In one of my shell script for taking backup and to List archive volume information

I m using folliowing code


if [ "$MODE" != "DVD" ]
then
/etc/frecover -V $BKPINCLUDE -v -f $DEVICE

else
$DD if=$DEVICE bs=16k | $GUNZIP | \
/etc/frecover -V $BKPINCLUDE -v -f -


umount_dvd


where

MODE=TPH
DEVICE=/tmp/amit/pudslx04.sb.10-07-08.1934PDT.gz
BKPINCLUDE=/tmp/bkp_include.vi

now can u tell me in linux what i use instread of frecover.

Amit

Last edited by amitpansuria; 10-07-2008 at 05:45 AM.. Reason: more clearance of problem statement