[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ale] shell scripting baby questions...



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