LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Blogs > priyankabade
User Name
Password

Notices

Rate this Entry

Not able to understand error

Posted 05-11-2012 at 01:59 AM by priyankabade

when i am running scripts it is giving error
./dist_auar_pb.sh: line 156: [: /psoft/batch/fsdev/outbound/auar/atl/archive/AUARCPPSF05.120504: binary operator expected

for code
if [ -f $ARC_DIR/${EXTRACT}* ]
then
find $ARC_DIR/${EXTRACT}* -mtime +45 -exec rm {} \;
fi

but clone copy of this script working fine for same coding
y this??
plz tell me solution what should i do with this script why only this script giving error and not clone scripts
Posted in Uncategorized
Views 2809 Comments 1
« Prev     Main     Next »
Total Comments 1

Comments

  1. Old Comment
    Posted 05-11-2012 at 02:44 AM by TheIndependentAquarius TheIndependentAquarius is offline
 

  



All times are GMT -5. The time now is 07:04 AM.

Main Menu
Advertisement

Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration