#!/bin/bash # # example of a SAVE_LOCAL script for use with pdist_file.sh # The single input parameter is mandatory! # # This one moves to a directory and does a gunzip then detar # on the input stream. # # David Mathog, mathog@caltech.edu, 21-MAR-2005 # if [ ! -d $1 ] then echo "FATAL error, LSPARAM is not a directory!" exit fi cd $1 gunzip -c | tar -xf - exit