.\" Man page generated from reStructuredText. . .TH "GMTWHICH" "1gmt" "Nov 05, 2016" "5.3.1" "GMT" .SH NAME gmtwhich \- Find full path to specified files . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .SH SYNOPSIS .sp \fBgmtwhich\fP \fIfiles\fP [ \fB\-A\fP ] [ \fB\-C\fP ] [ \fB\-D\fP ] [ \fB\-V\fP[\fIlevel\fP] ] .sp \fBNote:\fP No space is allowed between the option flag and the associated arguments. .SH DESCRIPTION .sp \fBgmtwhich\fP reports the full paths to the files given on the command line. We look for the file in (1) the current directory, (2) in $GMT_USERDIR (if defined), (3) in $GMT_DATADIR (if defined). If found we print the full path name to the file, just the directory (see \fB\-D\fP), or a confirmation (see \fB\-C\fP). The $GMT_USERDIR and $GMT_DATADIR environment variables can be colon\-separated list of directories, and we search recursively down any directory that ends with / (i.e., /export/data is a single directory whereas /export/data/ will be searched recursively.) .SH REQUIRED ARGUMENTS .INDENT 0.0 .TP .B \fIfiles\fP One or more file names of any data type (grids, tables, etc.). .UNINDENT .SH OPTIONAL ARGUMENTS .INDENT 0.0 .TP \fB\-A\fP Only consider files that the user has permission to read [Default consider all files found]. .UNINDENT .INDENT 0.0 .TP \fB\-C\fP Instead of reporting the paths, print the confirmation Y if the file is found and N if it is not. .UNINDENT .INDENT 0.0 .TP \fB\-D\fP Instead of reporting the paths, print the directories that contains the files. .UNINDENT .INDENT 0.0 .TP \fB\-V\fP[\fIlevel\fP] (more ...) Select verbosity level [c]. .UNINDENT .INDENT 0.0 .TP \fB\-^\fP or just \fB\-\fP Print a short message about the syntax of the command, then exits (NOTE: on Windows use just \fB\-\fP). .TP \fB\-+\fP or just \fB+\fP Print an extensive usage (help) message, including the explanation of any module\-specific option (but not the GMT common options), then exits. .TP \fB\-?\fP or no arguments Print a complete usage (help) message, including the explanation of options, then exits. .UNINDENT .SH SEE ALSO .sp gmt .SH COPYRIGHT 2016, P. Wessel, W. H. F. Smith, R. Scharroo, J. Luis, and F. Wobbe .\" Generated by docutils manpage writer. .