Hi Gurus.
I have a directory and i receive many files with extension .log. I processed the file as i get it. i want to process all the files except one which i know i don't want to process.
cd /backup/temp/rajesh/PACS #--- directory , under this i have below files
PACS_WEB_Q36-RNH_20120530103802.log
PACS_WEB_Q36-RNH_20120530103803.log
PACS_WEB_Q36-RNH_20120530103803.log
and pacsnew.log .
pacsnew.log is the one is system generated and i dont want to process.
When my loop statrt it picks pacsnew.log as well.
#if [$? ne 0]; then
if [ -f *.log ]
then
for i in *.log
do
flnm=$i
can you please help me to excude the file in loop and processed the rest