[Thread Prev][Thread Next][Index]
Re: run Ferret in batch mode with arguments
Tony, setting up a shell script as follows works for me in Ferret, in general.
#!/bin/sh
# In each directectory, execute shell commands,
# run ferret with various ferret commands,
# exit Ferret, and run more shell commands.
# Repeat as necessary.
# Programmed by E. D. Cokelet, NOAA/PMEL, 2 August 2003
# Last modified 7 August 2003
cd route_dir
#******
cd new_dir1
#Insert any shell commands you wish, such as ls, etc.
ferret << eof
! Place your Ferret commands here, end with eof
go my_journal.jnl
sh data
exit
eof
cd ../
#*****
# run more tasks like that above.
.
.
.
--
Edward D. (Ned) Cokelet, Ph.D. Edward.D.Cokelet@noaa.gov
NOAA/PMEL ph: (206) 526-6820
7600 Sand Point Way NE fax: (206) 526-6485
Seattle, WA 98115-6439
[Thread Prev][Thread Next][Index]
Dept of Commerce /
NOAA /
OAR /
PMEL /
TMAP
Contact Us | Privacy Policy | Disclaimer | Accessibility Statement