[ale] shell scripting baby questions...

Johnny Preyer JPreyer at sprich.com
Fri Feb 20 11:08:48 EST 2004


try
if [ "$infectionsDetected" -eq "0" ]



  if [ $infectionsDetected eq "0" ]
  then
    rm -f $logPath/$infectedLogName
  fi

# tar and gzip the scan logfile and remove the uncompressed log
tar -czf $logPath/$LogName.tgz $logPath/$infectedLogName;
rm -f $logPath/$logName;

--- end script ---
-- 
:: Keith Morris
:: Creative Director
:: Design / Effects
:: IQ television group
:: Atlanta, GA
:: 404.255.3550
:: http://www.iqtv.com

_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale



More information about the Ale mailing list