The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM


Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to fix :[too many arguments error in code Brewer27 UNIX for Dummies Questions & Answers 2 05-18-2008 05:42 PM
Getting error in command line arguments sunitachoudhury Shell Programming and Scripting 8 04-03-2008 03:45 AM
arguments expected error strike Shell Programming and Scripting 4 05-18-2005 04:18 AM
"Arguments too long" Peterh UNIX for Dummies Questions & Answers 2 08-12-2003 05:07 AM
Arguments too long???? rrivas UNIX for Dummies Questions & Answers 2 08-19-2002 10:10 PM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 07-21-2006
Registered User
 

Join Date: Aug 2001
Location: Indiana
Posts: 18
arguments too long error

Hi,

I am running a .csh shell and get this error.
set dir=/u21/oradata/SDE/cass
echo /u21/oradata/SDE/cass
/u21/oradata/SDE/cass
set compression=jpeg
set bustab=CASS_ORTHO2005
set keyword=cnty_2005
set resampling=bilinear
set image_list=/u21/oradata/SDE/cass/*.tif
Arguments too long.

I did not get the errors when the image_list was only 6 for testing. Now the image_list is > 3000 and its too long.

Seems I am hitting a limit somehere.

Here is the rest of the script.

set first_one_loaded=false
foreach image ($image_list)
if ($first_one_loaded == "false") then
sderaster -o import -l $bustab,image -G $proj_id -f $image -c $compression -q 75 -g $connection -k $keyword
else
sderaster -o mosaic -l $bustab,image -v 1 -f $image $connection
endif
set first_one_loaded=true
end

Does this error have to do with the memory ulimit?
Thanks,
Kathy

Last edited by kburrows; 07-21-2006 at 10:32 AM.
Reply With Quote
Google The UNIX and Linux Forums
Forum Sponsor
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 11:39 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0