LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Blogs > priyankabade
User Name
Password

Notices


Uncategorized Entries with no category
Old

Not able to understand error

Posted 05-11-2012 at 12: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...
LQ Newbie
Posted in Uncategorized
Views 5352 Comments 1 priyankabade is offline

  



All times are GMT -5. The time now is 08:39 PM.

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
Open Source Consulting | Domain Registration