Name
newdir -- create a new output directory for DEIMOS images
Purpose
Generate an output directory based on the account name and
the UT date. Select the data disk with the most disk space
if no disk number is provided. Create the output directory if
it does not yet exist. Verify that it is a directory and that
the user has write access to it. Redefine OUTDIR keyword
appropriately.
Usage
newdir [disk]
Arguments
disk 1-digit number of the desired data disk
Output
Feedback is written to standard output
Side effcts
The OUTDIR keyword in the "deiccd" keyword library is changed
Restrictions
None
Exit values
0 = normal completion
1 = wrong number of arguments
3 = invalid datadisk argument
4 = could not create directory
5 = desired output directory exists, but is not a directory
6 = you do not have write access to the suggested outdir
Example
1) generate a new output directory for DEIMOS images on
disk /sdata1001:
newdir 1
2) Generate a new output directory for DEIMOS images
on the data disk with the most available space:
newdir
See Also
The shell script newdir
DEIMOS script index
Go to:
DEIMOS Home Page -
Instruments Home Page -
Keck Home Page
DEIMOS Master
Last modified: Wed Jun 9 16:30:32 2004