Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
small script
Name: yacob Date: March 20, 2008 at 06:12:29 Pacific OS: linux CPU/Ram: 2GB Product: linux
Comment:
I have a script as below which works out all the file in one directory with an extension of *.grb. It goes all those file and all sort of work is done in between, calling fortran code and a mix of call to GMT commands. Now I want to go to different subdirectories and do the same.
#!/bin/sh for i in *.grb ; do
# in between all sorts of command has been made here, not shown.
done
I want the above script to go through a subdirectories and looking files which ends *.grd. How can I do this ?
Summary: what makes you think this is "small"? does "somebody other than me" mean there are more than 1 logins with your login? what is your script writing experience? what scripting languages? ...
Summary: I really appreciate you help guys. Thank you very much. I have 2 more scripts that have some small syntax errors. Maybe you can help me with those also Jim. ...
Summary: Hi, I am a unix beginner I'm writing a ten command menu script that will prompt user for input. So far I wrote many small script but this script calls for everything to be in one script which is ve...