'\" t .\" Title: gftest .\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author] .\" Generator: DocBook XSL Stylesheets vsnapshot .\" Date: 7 Apr 2013 .\" Manual: Gfarm .\" Source: Gfarm .\" Language: English .\" .TH "GFTEST" "1" "7 Apr 2013" "Gfarm" "Gfarm" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" gftest \- check entry type .SH "SYNOPSIS" .HP \w'\fBgftest\fR\ 'u \fBgftest\fR \fIoptions\fR \fIpath\fR .SH "DESCRIPTION" .PP Check file or directory information\&. .SH "OPTIONS" .PP \fB\-d\fR .RS 4 returns 0 if an entry specified by \fIpath\fR is a directory\&. .RE .PP \fB\-e\fR .RS 4 returns 0 if an entry specified by \fIpath\fR exists\&. .RE .PP \fB\-f\fR .RS 4 returns 0 if an entry specified by \fIpath\fR is a regular file\&. .RE .PP \fB\-h\fR .RS 4 returns 0 if an entry specified by \fIpath\fR is a symbolic link\&. .RE .PP \fB\-s\fR .RS 4 returns 0 if an entry specified by \fIpath\fR is a regular file whose size is greater than 0\&. .RE .PP \fB\-L\fR .RS 4 returns 0 if an entry specified by \fIpath\fR is a regular file and stored in the same host\&. .RE .PP \fB\-R\fR .RS 4 returns 0 if an entry specified by \fIpath\fR is a regular file and stored in a remote host\&. .RE .PP \fB\-?\fR .RS 4 displays a list of command options\&. .RE