[code language=”sql”]
tar_help()
##############################################################
# This will display the help for the tar command
##############################################################
{
tar –help
}
tar_create()
##############################################################
# This will create a tar file
##############################################################
{
tarnm=$1
tardir=$2
tar -cvf $tarnm $tardir
}
tar_view()
##############################################################
# This will allow you to view a tar
##############################################################
{
flnm=$1
tar -tvf $flnm
}
tar_all()
{
echo " "
}
tar_mv()
{
cd /oracle/admin/scripts
ls -lt asm*tar
}
[/code]